n,p = gets.chomp.split.map(&:to_i) puts p==n*p ? "=" : "!="