import Control.Monad main = do n <- getLine putStr n when (n /= "0") $ putStr "0" putStrLn ""