s,t,c=input().split() if c=="<" and s" and s>t or c=="=" and s==t: print("YES") else: print("NO")