s,t,c = input().split() if c == "=":c = "==" if eval(s + c + t): print("YES") else: print("NO")