###########Tester解###################### ######最終確認 S,T,c=input().split() assert(0<=int(S)<=100) assert(0<=int(T)<=100) assert(c in ["<",">","="]) if c=="=": c*=2 if eval(S+c+T): print("YES") else: print("NO")