qsort [] = []
qsort (p:xs) = qsort lt ++ [p] ++ qsort ge
  where
    lt = [x | x <- xs, x < p]
    ge = [x | x <- xs, x >= p]
main = do
  a <- map (\x -> read x :: Int) . words <$> getLine
  putStrLn $ unwords $ map (\x -> show x) $ qsort a