import java.util.*
fun next() = readLine()!!
fun nextInt() = next().toInt()
fun nextLong() = next().toLong()
fun nextDouble() = next().toDouble()
fun listOfString() = next().split(" ")
fun listOfInt() =listOfString().map { it.toInt() }
fun listOfLong() =listOfString().map { it.toLong() }
fun listOfDouble() =listOfString().map { it.toDouble() }
fun main(args:Array<String>){
  var n = nextInt()
  var a = listOfInt()
  var deq = ArrayDeque<Int>()
  for(i in 0..n-1){
    if(i%2==0) deq.addFirst(a[i])
    else deq.addLast(a[i])
  }
  for(i in 0..n-1){
    var tmp = 0
    if(n%2==0){
      tmp = deq.removeLast()
    }else{
      tmp = deq.removeFirst()
    }
    print(tmp.toString()+" ")
  }
  println()
}
