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