#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j, k, l;
  cin >> n;
  int arr[n], x[n];
  for (i = 0; i < n; i++) {
    cin >> arr[i];
  }
  if (n == 1) {
    cout << arr[0];
    return 0;
  } else if (n == 2) {
    cout << arr[1] << " " << arr[0];
    return 0;
  } else {
    for (int i = 0; i <= n - i - 1; ++i) {
      if (i % 2 - 1) {
        int t = arr[i];
        arr[i] = arr[n - i - 1];
        arr[n - i - 1] = t;
      }
    }
  }
  for (i = 0; i < n; i++) {
    cout << arr[i] << " ";
  }
}
