import Text.Printf
import Data.List
main :: IO()
main = do
  input <- getLine
  let nums = map (\x -> read x :: Int) $ words input
  putStrLn $ mysort nums

mysort :: [Int] -> String
mysort nums = printf "%d %d %d" x y z
    where [x,y,z] = sort nums