import scala.annotation.tailrec
import scala.io.StdIn

object Main extends App {

  val n = StdIn.readLine().toInt
  val buff = StdIn.readLine().split(' ').map(_.toInt)
  
  @tailrec def printReverse(index: Int): Unit = {
    
    if(index == 0) println(buff(0))
    else {
      print(buff(index) + " ")
      printReverse(index-1)
    }
  }
  
  printReverse(n-1)
  
}
