a = gets.split p a s = a[0] t = a[1] c = a[2] f = false if (c == '<') then f = (s < t) end if (c == '>') then f = (s > t) end if (c == '=') then f = (s == t) end print (f ? "YES" : "NO")