#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t;
  t = 1;
  while (t--) {
    long long int n, arr[200000];
    cin >> n;
    for (int i = 0; i <= n - 1; i++) {
      cin >> arr[i];
    }
    for (int i = 0; i < n / 2; i = i + 2) {
      swap(arr[i], arr[n - i - 1]);
    }
    for (int i = 0; i <= n - 1; i++) {
      cout << arr[i] << " ";
    }
  }
  cerr << "Time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl;
  return 0;
}
