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