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