{-# OPTIONS_GHC -Wall -Werror #-}

import Data.List

parseInput :: String -> [Int]
parseInput = sort . (map read) . words

list2String :: [Int] -> String
list2String = tail . foldl (\s x -> s ++ " " ++ show x) ""

main :: IO ()
main = getLine >>= putStrLn . list2String . parseInput