#include <bits/stdc++.h>
using namespace std;
const long long int MOD = 1000000007;
const long long int N = 1000006;
vector<int> adj[N];
bool visit[N];
long long int dist[N];
long long int in[N], low[N];
long long int timer;
long long int in_deg[N];
vector<int> res;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n;
  cin >> n;
  long long int arr[n + 1], ar[n + 1];
  for (long long int i = 1; i <= n; i++) cin >> arr[i];
  for (long long int i = 1; i <= n - i + 1; i++) {
    if (i % 2 == 1) swap(arr[i], arr[n - i + 1]);
  }
  for (long long int i = 1; i <= n; i++) cout << arr[i] << " ";
  return 0;
}
