#include <iostream>
using namespace std;
signed main(){
int n;
cin >> n;
int a[n];
for(int &i:a)
cin >> i;
for(int i = 1; i < n; i+=2)
cout << a[i] << " ";
for(int i = 0; i < n; i+=2)
}
#include <iostream>
using namespace std;
signed main(){
int n;
cin >> n;
int a[n];
for(int &i:a)
cin >> i;
for(int i = 1; i < n; i+=2)
cout << a[i] << " ";
for(int i = 0; i < n; i+=2)
cout << a[i] << " ";
}