S,T,c = input().split() #3個の文字列の入力を受け取る if c == "<" and int(S) < int(T): print("Yes") elif c == ">" and int(S) > int(T): print("Yes") elif c == "=" and int(S) == int(T): print("Yes") else : print("No")