n, p = [int(x) for x in input().split()] if n == 1 or p == 0: print('=') else: print('!=')