main = do [n, p] <- map read . words <$> getLine putStrLn $ if p /= 0 && n /= 1 then "!=" else "="