s = input().split() s[2] = "==" if s[2] == "=" else s[2] print("YES" if eval(s[0] + s[2] + s[1]) else "NO")