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