import Control.Applicative main = do [n, p] <- map read . words <$> getLine putStrLn $ if p == n * p then "=" else "!="