S,T,c=input().split() S=int(S) T=int(T) if (c=="<" and S" and S>T) or (c=="=" and S==T):print("YES") else : print("NO")