n, p = int(input().split()) if n == (n * p): print('=') else: print('!=')