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