n, p = map(int, input().split()) print('=' if n == 1 or p == 0 else '!=')