#include <bits/stdc++.h>
using namespace std;
int n, a[(1 << 20)];
vector<int> odd, ev;
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int s = 0, f = n - 1; s < f; s++, f--) {
    if (s % 2 == 0) {
      swap(a[s], a[f]);
    }
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << "\n";
  return 0;
}
