N, P = map(int, input().split()) print('!'*(P!=N*P)+'=')