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