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