#include<iostream>
#include<stdio.h>
using namespace std;
int a[200050], b[200050];
int main()
{
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++)
scanf("%d", &a[i]);
b[n / 2 + 1] = a[1];
if (n % 2)
{
for (int i = 1; i <= n / 2; i++)
{
b[n / 2 + 1 + i] = a[2 * i];
b[n / 2 + 1 - i] = a[2 * i + 1];
}
}
else
{
for (int i = 1; i <= n / 2; i++)
{
b[n / 2 + 1 - i] = a[2 * i];
}
for (int i = 1; i < (n / 2); i++)
{
b[n / 2 + 1 + i] = a[2 * i + 1];
}
}
for (int i = 1; i < n; i++)
printf("%d ", b[i]);
printf("%d\n", b[n]);
return 0;
}