import Control.Applicative
import Control.Monad

main = do
    n <- readLn :: IO Int
    ns <- fmap (read :: String -> Int) . words <$> getLine
    putStrLn $ createLine . reverse $ ns

createLine :: [Int] -> String
createLine = tail . concat . map (\x -> " " ++ show x)