a,b,c = input().split() if c == '=': if int(a) == int(c): print("YES") exit() else: print("NO") exit() else: print("YES" if eval(a+c+b) else "NO")