#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> V;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    V.push_back(x);
  }
  int pos = n - 1;
  int cnt = 2;
  int swaps = n / 2;
  for (int i = 0; i < swaps; i++) {
    if (cnt == 2) {
      swap(V[i], V[pos - i]);
      cnt = 0;
    }
    cnt++;
  }
  for (int i = 0; i < n; i++) {
    cout << V[i] << " ";
  }
  return 0;
}
