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