import qualified Data.ByteString.Char8         as BC
import           Data.Maybe                     ( fromJust )
import           Control.Applicative
import          Data.List

readInts :: IO [Int]
readInts = map (fst . fromJust . BC.readInt) . BC.words <$> BC.getLine

output :: Int -> IO ()
output x = putStr $ show x ++ " "

main :: IO ()
main = readInts >>= \x -> mapM_ output $ sort x

