n, p = map(int, input().split()) print(['!=', '='][n == 1 or p == 0])