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