#include<stdio.h> 
int main()
 {
        const int MAXN=2e5+5;
 	int n=0;int a[MAXN];
 	scanf("%d",&n);
        for(int i=0;i<n;i++)
	 scanf("%d",a[i]);
 	if(n%2)
 	{for(int i=n-2;i>2;i-=2)
 	printf(" %d",a[i]);
 	for(int i=1;i<=n-1;i+=2)
 	printf(" %d",a[i]);
 	}
 	else
 	{for(int i=n-2;i>2;i-=2)
 	printf(" %d",a[i]);
 	for(int i=2;i<=n-1;i+=2)
 	printf(" %d",a[i]);
 	}
 	return 0;
 }