object Main extends App {

  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt()

  val a: List[Int] = (for (i <- 1 to n) yield sc.nextInt()).toList

  val b = a.foldLeft(Nil: List[Int])((b, ele) => (ele :: b).reverse).reverse

  println(b.mkString(" "))
}