
'use strict'

function main(input) {
	input = input.split('\n').map(v => v.split(' ').map(v => ~~v))
	const n = input[0][0]
	const nums = input[1]

	let store = []
	for (let i = 0; i < n; i++) {
		if (i % 2 == n % 2) {
			store.push(nums[i])
		} else {
			store.unshift(nums[i])
		}
	}
	const ans = store.join(' ')

	console.log(ans)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'))