{-# LANGUAGE Strict #-}

main :: IO ()
main = do
  [x, y, z] <- map read . words <$> getLine
  putStrLn . unwords . map show $ solve x y z

solve :: Int -> Int -> Int -> [Int]
solve x y z = [z, x, y]
