#include <bits/stdc++.h>
using namespace std;
int a[200005], b, c, n, k;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> a[i];
  for (int i = 1; i <= n / 2; i++)
    if (i % 2 == 1) swap(a[i], a[n - i + 1]);
  for (int i = 1; i <= n; i++) cout << a[i] << ' ';
}
