l=input().split() l=[int(l[i])for i in range(2)]+[l[2]] if l[2]=='<': a=l[0]': a=l[0]>l[1] else: a=l[0]==l[1] print('YNeos'[not(a)::2])