N, P = map(int, input().split()) print("=" if N == 1 or P == 0 else "!=")