def p(bool) puts bool ? :YES : :NO end s,t,c = gets.to_s.split s = s.to_i t = t.to_i case c when "<" p s < t when ">" p s > t when "=" p s == t end