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