object Main extends App {
	val N = scala.io.StdIn.readInt
	val a = scala.io.StdIn.readLine

	var t:List[Int] = List()

	for(i <- 0 until N) t = t:+a.split(" ")(i).toInt

	var b:List[Int] = List()

	for(i <- 0 until N){
		b = b:+t(i)
		b = b.reverse
	}

	for(i<- 0 until N-1){
		print(b(i) + " ")
	}

	print(b(N-1))

}