import java.util.Scanner; public class StringComparator { public static void log(Object obj) { System.out.println(obj.toString()); } public static boolean isCheck(int a, int b, String type) { if(type.equals("=")) { return a==b; } if(type.equals("<")) { return a")) { return a>b; } return false; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int s = sc.nextInt(); int t = sc.nextInt(); String c = sc.next(); if(isCheck(s,t,c)) { log("YES"); } else { log("NO"); } } }