import java.util.*

fun main(args : Array<String>) {
    val n = readLine()!!.toInt()
    val aa = readLine()!!.split(" ").map { it.toInt() }

    val ans = ArrayDeque<Int>()
    var reversed = false

    repeat(n) {
        if (reversed) {
            ans.addFirst(aa[it])
        } else {
            ans.addLast(aa[it])
        }
        reversed = !reversed
    }

    if (reversed) {
        println(ans.reversed().joinToString(separator = " "))
    } else {
        println(ans.joinToString(separator = " "))
    }
}

