N, P = list(map(int, input().split()))
if P == N*P:
    print('=')
else:
    print('!=')