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