s,t,c=input().split() s,t=int(s),int(t) if c=="=": print("YES" if s==t else "NO") elif c=="<": print("YES" if st else "NO")