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