import Control.Monad
main = do
  n <- readLn :: IO Int
  a_in <- (return . reverse . words) =<< getLine
  let a = map (read::String->Int) a_in
  forM_ [0..n-1] $ \i -> do
    putStr $ show (a!!i)
    if i == (n-1) then putStrLn ""
    else putStr " "
