module Main where

import Data.Functor
import Data.List

main :: IO ()
main = do
  { xs <-getInts
  ;  putInts (sort xs)
  }

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

putInts :: [Int] -> IO ()
putInts = putStrLn . unwords . map show