#include <bits/stdc++.h>
using namespace std;
inline long long int in() {
  long long int NR = 0;
  register char c = getchar();
  while (c < 48 || c > 57) {
    c = getchar();
  }
  while (c > 47 && c < 58) {
    NR = (NR << 3) + (NR << 1) + (c - 48);
    c = getchar();
  }
  return NR;
}
inline long long int inp() {
  long long int NR = 0, sign = 1;
  register char c = getchar();
  while (c < 48 || c > 57) {
    if (c == '-') sign = 0;
    c = getchar();
  }
  while (c > 47 && c < 58) {
    NR = (NR << 3) + (NR << 1) + (c - 48);
    c = getchar();
  }
  return (sign ? NR : (-NR));
}
int main() {
  long long int n = in(), i = n, k;
  vector<long long int> a;
  while (i--) a.push_back(inp());
  for (i = 0; i < n / 2; i += 2) {
    k = n - i - 1;
    a[i] += a[k];
    a[k] = a[i] - a[k];
    a[i] = a[i] - a[k];
  }
  for (i = 0; i < n; i++) {
    printf("%lld ", a[i]);
  }
  return 0;
}
