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