#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> v(n);
  bool b = true;
  for (int i = 0; i < n; i++) cin >> v[i];
  for (int i = 0, j = n - 1; i < j; i++, j--) {
    if (b) {
      long long a = v[i];
      v[i] = v[j];
      v[j] = a;
    }
    b = !b;
  }
  for (int i = 0; i < n; i++) cout << v[i] << " ";
}
