object Main extends App {
	val N = scala.io.StdIn.readInt
	val a = scala.io.StdIn.readLine.split(" ").map(_.toInt)

	var b:List[Int] = List()

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

	print(b.mkString(" "))
}