{-# LANGUAGE ScopedTypeVariables #-}

import Control.Applicative
import Data.List
main = do
  inputs <- map read . words <$> getLine :: IO [Int]
  putStrLn . mkStr $ sort inputs

mkStr :: [Int] -> [Char]
mkStr [] = ""
mkStr (x:xs) = (show x) ++ " " ++ (mkStr xs)