#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> items;
  for (int i = 0; i < n; i++) {
    int item;
    cin >> item;
    items.push_back(item);
  }
  int i = 0;
  int j = n - 1;
  int count = 0;
  while (i < j) {
    if (count % 2 == 0) swap(items[i], items[j]);
    i++;
    j--;
    count++;
  }
  for (int i = 0; i < n; i++) {
    cout << items[i] << " ";
  }
  int pause;
  cin >> pause;
  return 0;
}
