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