s,t,c=input().split() s=int(s) t=int(t) if c=="<": print(["NO","YES"][s": print(["NO","YES"][s>t]) if c=="=": print(["NO","YES"][s==t])