#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, temp;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int i = 0, j = n - 1; i <= j; i++, j--) {
    if (i % 2 == 0) {
      temp = a[i];
      a[i] = a[j];
      a[j] = temp;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
}
