N, P = map(int, raw_input().split())
if P == N*P: print '='
else: print '!='