#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  long int n, i, j;
  cin >> n;
  long long a[n];
  for (i = 0; i < n; i++) cin >> a[i];
  long int p = 0;
  long long temp;
  for (i = 0, j = n - 1; i < j; i++, j--) {
    if (p % 2 == 0) {
      temp = a[i];
      a[i] = a[j];
      a[j] = temp;
    }
    p++;
  }
  for (i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
