module Main where

import Control .Applicative
import Data . List

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


getInts :: IO()
getInts = map read . words <$> getLine

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