main = getLine >>= putStrLn . (\[n, p] -> if n == 1 || p == 0 then "=" else "!=") . map read . words