#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;

ll a[1000000];
int main()
{
    int n;
    cin>>n;
    deque<ll> dq;
    deque<ll>::iterator it;
    for(int i=0;i<n;i++)
    {
        cin>>a[i];
        if(i%2==0)
        {
            dq.push_back(a[i]);
        }
        else
        {
            dq.push_front(a[i]);
        }
    }
    for(it=dq.begin();it!=dq.end();it++)
    {
        printf("%lld ",*it);
    }
    printf("\n");


    return 0;
}
