import itertools import sys import math try: import numpy as np except ImportError: pass stdin = sys.stdin stderr = sys.stderr sys.setrecursionlimit(10 ** 6) def CP(cond, a, b): print(a if cond else b) def YESNO(cond): CP(cond, 'YES', 'NO') def YesNo(cond): CP(cond, 'Yes', 'No') def RS(): return sys.stdin.readline().strip() def RI(): return int(RS()) def RVI(): return [int(n) for n in RS().split()] def WVI(arr, sep=' ', **kwargs): print(sep.join([str(a) for a in arr]), **kwargs) S, T, c = RS().split() S = int(S) T = int(T) if c == '<': f = lambda x, y: x < y elif c == '>': f = lambda x, y: x > y elif c == '=': f = lambda x, y: x == y else: assert False YESNO(f(S, T))