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