import Data.Bool main = getLine >>= putStrLn . bool "!=" "=" . (\[n,p] -> p==n*p) . map read . words