import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
        int[] nums = new int[N];
        int mid = N / 2;
        if(mid >= 0 && mid < N)nums[mid] = scanner.nextInt();
        int l = mid - 1, r = mid + 1;
        if(N % 2 == 0){
            while(l >= 0 || r < N){
                if(l >= 0) nums[l--] = scanner.nextInt();
                if(r < N) nums[r++] = scanner.nextInt();
            }
        }else{
            while (l >= 0 || r < N){
                if(r < N) nums[r++] = scanner.nextInt();
                if(l >= 0) nums[l--] = scanner.nextInt();
            }
        }

        for(int i = 0; i < nums.length; ++i){
            if(i == 0) System.out.print(nums[i]);
            else System.out.print(" " + nums[i]);
        }
    }
}

过了。