N, P = map(int, input().split()) print(['!=', '='][N == 1 or P == 0])