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