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