local s = io.read("*n") local t = io.read("*n") local c = io.read():gsub(" ", "") local ans = (function () if c == "<" then if s < t then return "YES" else return "NO" end end if c == ">" then if s > t then return "YES" else return "NO" end end if c == "=" then if s == t then return "YES" else return "NO" end end end)() print(ans)