#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n;
  int a[n];
  for (int i = 1; i <= n; i++) cin >> a[i];
  m = n / 2;
  for (int i = 1; i <= m; i = i + 2) {
    int p = i;
    swap(a[p], a[n - p + 1]);
  }
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
  cout << endl;
}
