a, b = gets.split.map(&:to_i) ab = a * b puts b == ab ? "=" : "!="