import Data.List

main :: IO ()
main = do 
  n <- fmap (read :: String -> Int) . words <$> getLine
  putStrLn $ implode $ sort n

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