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