import qualified Data.ByteString.Char8 as BS

main :: IO ()
main = do
  [a,b,c] <- map read . words <$> getLine
  putStrLn $ solve a b c

solve :: Int -> Int -> Int -> String
solve a b c =
  show c ++ " " ++ show a ++ " " ++ show b

test :: IO ()
test = do
  print $ solve 1 2 3 == "3 1 2"
  print $ solve 100 100 100 == "100 100 100"
  print $ solve 41 59 31 == "31 41 59"
  putStrLn "test finished"