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