import java.util.*

fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val a = readLine()!!.split(' ').map(String::toInt)
    val b = LinkedList<Int>()

    for (i in 0..n - 1) {
        if (i % 2 > 0) {
            b.addFirst(a[i])
        } else {
            b.add(a[i])
        }
    }
    if (n % 2 > 0) {
        b.reverse()
    }
    val sb = StringBuilder()
    for (bi in b) {
        sb.append(bi).append(' ')
    }
    println(sb)
}