N, P = (int(i) for i in input().strip().split(' ')) if P == N * P: print('=') else: print('!=')