import           Data.Functor
import           Data.List

main :: IO ()
main = solve =<< fmap read . words <$> getLine

solve :: [Integer] -> IO ()
solve ns = putStrLn
  $ intercalate " "
  $ show <$> sort ns

