n, p = gets.split.map(&:to_i)

if p == n*p
  puts '='
else
  puts '!='
end