#include <bits/stdc++.h>   using namespace std;   void sove() {}   int main() {     int n;     cin >> n;     int nums[n];     for (int i = 0; i < n; ++i) {       cin >> nums[i];     }     for (int i = 0; i < n / 2; i += 2) {       int temp = nums[i];       nums[i] = nums[n - i - 1];       nums[n - i - 1] = temp;     }     for (int num : nums) {       cout << num <<    ;     }   }   