#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
const int M = 500 * 1000 * 1000;
const long long MOD = 1000 * 1000 * 1000 + 7;
const long long INF = 2e9 + 10;
const long double EPS = 1e-7;
int a[N];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; ++i) cin >> a[i];
  for (int i = 0; i < n / 2; ++i)
    if (i % 2 == 0) swap(a[i], a[n - 1 - i]);
  for (int i = 0; i < n; ++i) cout << a[i] << " ";
}
