module Main where

import Control.Applicative

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

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

main :: IO ()
main = do
  { xs <-getInts
  ; putStrLn $ unwords $ map show $ sort xs
  }
