module Main where

import Control.Applicative
import Data.List

getInt :: IO Int
getInt = head <$> getInts

getInts :: IO [Int]
getInts = map read . words <$> getLine

main :: IO ()
main = putStrLn . unwords . map show . sort =<< getInts



