import Control.Applicative
import Data.List
import Data.Char

main :: IO()
main = do
	[a,b,c] <- (map(read::String->Int) . words) <$> getLine
	let s = sort [a,b,c]
	putStrLn $ (show (s!!0)) ++ " " ++ (show (s!!1)) ++ " " ++ (show (s!!2))