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