#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, j, k, n;
  cin >> n;
  long long int napa[n + 2];
  for (i = 1; i <= n; i++) cin >> napa[i];
  for (i = 1; i <= n / 2; i += 2) {
    swap(napa[i], napa[n + 1 - i]);
  }
  for (i = 1; i <= n; i++) cout << napa[i] << " ";
  cout << endl;
  return 0;
}
