module Main where
import Control.Applicative((<$>))
import Data.List(sort)


main :: IO ()
main = do
  (a:b:c:_) <- (map show) <$> sort <$> (map atoi ) <$> words <$> getLine
  putStrLn $ a ++ " " ++ b ++ " " ++ c
  where
    atoi x = read x :: Int