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