main = getLine >>= putStrLn . solve . map read . words solve (n:p:_) = if p == n * p then "=" else "!="