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 : xs) | xs == [] = print x
                | otherwise = putStr (show x ++ " ") >> output xs

main :: IO ()
main = readInts >>= output <$> sort

