import Data.List

toString :: Show a => [a] -> String
toString [] = ""
toString (x:[]) = show x
toString (x:xs) = show x ++ " " ++ toString xs

main :: IO ()
main = do input <- getLine
          let xs = map read $ words input :: [] Int
          putStrLn $ toString $ sort xs