#include <bits/stdc++.h>
using namespace std;
long long m, n, x, z = 1e9, c, used[1001], cnt, ans, sum, rem, tre, ert;
string s, s1;
vector<pair<long long, long long> > p;
vector<long long> v, v1;
set<long long> st;
char g;
long long a[1000001], a1[100001];
int main() {
  cin >> n;
  for (long long i = 1; i <= n; i++) {
    cin >> x;
    v.push_back(x);
  }
  for (long long i = 0; i < v.size() / 2; i += 2)
    swap(v[i], v[(v.size() - i) - 1]);
  for (long long i = 0; i < v.size(); i++) cout << v[i] << " ";
}
