function Main(input) {
	input = input.split("\n");
	tmp = input[1].split(" ");
	var n = parseInt(input[0], 10);
    var arr = tmp.map(x=> parseInt(x, 10));
	var B = new Array(n).fill(-1);
    for (var i = 0; i < n; i++) {
        var inserted = arr[n-1-i];
        var toIndex;
        if (i % 2 == 0) {
            toIndex = i / 2;
        } else {
            toIndex = n - 1 - Math.floor(i/2);
        }
        B[toIndex] = inserted
    }
	console.log(B.join(" "));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));