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