import java.util.Scanner

import scala.annotation.tailrec

/**
  * Created by ui on 2016/02/07.
  */
object ReverseNumber {
  def run: Unit = {
    val sc = new Scanner(System.in)
    val n = sc.nextInt()
    var l = List.fill(n)(sc.nextInt)
    l = l.reverse
    fact(l)

  }
  @tailrec
  def fact (l:List[Int]): Unit = {
    if (l.size == 1) print(l.head)
    else {print(s"${l.head} ")
      fact (l.tail)
    }

  }
}
/**
  * Created by ui on 2016/02/04.
  */
object Main {
  def main(args: Array[String]): Unit = {
    ReverseNumber.run
  }
}