int main()
{
int v[1000], i, n;
cin >> n;
for ( i=1; i<=n; i++ )
{
cin >> v[i];
}
for(int i=2;i<=n;i+2)
{
cout << v[i] << " ";
}
if(n%2!=0)
{
for(int i=n;i<=1;i=i-2)
{
cout << v[i] << " ";
}
}
else
for(int i=n-1;i<=1;i=i-2)
{
cout << v[i] << " ";
}
}