#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n;
  cin >> n;
  vector<long long int> v(n);
  for (long long int i = 0; i < n; i++) cin >> v[i];
  for (long long int i = 0; i < n / 2; i += 2) swap(v[i], v[n - 1 - i]);
  for (long long int i = 0; i < n; i++) cout << v[i] << " ";
  return 0;
}
