import java.util.ArrayDeque
import kotlin.Array
import kotlin.Boolean
import kotlin.Comparator
import kotlin.Int
import kotlin.Long
import kotlin.String

fun main(args: Array<String>) {
    val n = readInt()
    val a = readIntList()

    val q = ArrayDeque<Int>()

    for (i in 0 until n) {
        if (i % 2 == 0) q.addLast(a[i])
        else q.addFirst(a[i])
    }
    if (n % 2 != 0) {
        println(q.reversed().joinToString(separator = " "))
    } else {
        println(q.joinToString(separator = " "))
    }
}

// read
fun readString() = readLine()!!
fun readInt() = readLine()!!.toInt()
fun readLong() = readLine()!!.toLong()
fun readStringList() = readLine()!!.split(" ")
fun readIntList() = readLine()!!.split(" ").map(String::toInt)