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