N,P=(int(i) for i in input (). split ()) if P==0: print ("=") elif N==1: print ("=") else: print("!=")