#include <bits/stdc++.h>
int main() {
  int n, i, temp;
  scanf("%d", &n);
  int a[n];
  for (i = 0; i < n; i++) scanf("%d", &a[i]);
  for (i = 0; i < n / 2; i += 2) {
    temp = a[i];
    a[i] = a[n - i - 1];
    a[n - i - 1] = temp;
  }
  for (i = 0; i < n; i++) printf("%d ", a[i]);
  return 0;
}
