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