import Data.List

main :: IO ()
main = do 
  n <- fmap words getLine
  let ss = castInt n 
  putStrLn $ implode $ sort ss

castInt :: [String] -> [Int]
castInt = map read

implode :: (Show a) => [a] -> String
implode [] =  " "
implode (x:xs) = show x ++ " " ++ (implode xs)