# your code goes here
# encoding: utf-8
#ほぼ初めてのRubyなのでいろいろと間違いや勘違いが

line=STDIN.gets
n,p=line.split(" ")

p=p.to_i
n=n.to_i
np=n*p
if p==np
	puts "="
else
	puts "!="
end