op = %w(= > <) s,t,c = gets.to_s.split puts op[s.to_i <=> t.to_i] == c ? :YES : :NO