-- | Main entry point to the application.
module Main where

import Control.Applicative
import Control.Monad
import Data.List
import Debug.Trace
import Text.Printf

rInt :: String -> Int
rInt str = read str :: Int

condd :: Int -> Int -> Int -> String
condd a b c
    | a < b && b < c = "Yes"
    | otherwise = "No"

-- | The main entry point.
main :: IO ()
main = do
    lst <- (map rInt . words) <$> getLine
    let sorted = sort lst
    printf "%d %d %d\n" (sorted !! 0) (sorted !! 1) (sorted !! 2)