'use strict'
function Main(input) {
    input = input.split("\n");
    const n = parseInt(input[0], 10)
    const arr = input[1].split(' ')
    let result = arr[0]
    for (let i = 1; i < n; i++) {
        if (i % 2 === 0 && n % 2 !== 0 || i % 2 !== 0 && n % 2 === 0) {
            result = `${arr[i]} ${result}`
        } else {
            result = `${result} ${arr[i]}`
        }
    }
    console.log(result)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));