input = gets.split(" ")
result = input[0].to_i - input[1].to_i
puts result
if (result > 0)
  puts "#{input[0]}" + " < " + "#{input[1]}"
elsif (result < 0)
  puts "#{input[0]}" + " > " + "#{input[1]}"
elsif (result == 0)
  puts "#{input[0]}" + " == " + "#{input[1]}"
else
  puts "hi"
end