#include<stdio.h>
#include<stdlib.h>

int main()
{
	int *a, *b, n;
	scanf_s("%d", &n);

	a = (int *)malloc(n * sizeof(int));
	for (int i = 0; i < n; i++)
		scanf_s("%d", &a[i]);

	b = (int *)malloc(n * sizeof(int));

	if (n % 2 == 0)//n为偶数
	{
		for (int i = 0; i < n / 2; i++)
			b[i] = a[n - 1 - 2 * i];
		for (int i = 0; i < n / 2; i++)
			b[n / 2 + i] = a[2 * i];
	}
	else//n为奇数
	{
		for (int i = 0; i < n / 2 + 1; i++)
			b[i] = a[n - 1 - 2 * i];
		for (int i = 0; i < n / 2; i++)
			b[n / 2 + 1 + i] = a[2 * i + 1];
	}

	for (int i = 0; i < n; i++)
		printf("%d ", b[i]);
	printf("\n");

	return 0;
}