#include <bits/stdc++.h>
using namespace std;
int a[200001];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  for (int i = 1; i <= (n + 1) / 2; i++) {
    if (i % 2 == 1) {
      swap(a[i], a[n + 1 - i]);
    }
  }
  for (int i = 1; i < n; i++) printf("%d ", a[i]);
  printf("%d\n", a[n]);
}
