n_p = [int(i) for i in input().split()]
n = n_p[0]
p = n_p[1]

if n==1 or p==0:
    print("=")
else:
    print("!=")