N,P = list(map(int,input().split()))
if N == 1 or P == 0:print("=")
else:print('!=')