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