function Main(input) {
    input = input.split("\n");
    var num = input[0].split(" ");
    var data = input[1].split(" ");
    num = Number(num);
    var ans = "";
    var index = 0;
    if(num === 1){
        ans = data[0];
    } else if(num % 2 === 0){
        index = num-1;
        while(1){
            ans+=data[index]+" ";
            if(index === 1){
                break;
            } else {
                index -= 2;
            }
        }
        
        index = 0;

        while(1){
            ans+=data[index];
            if(index === num-2){
                break;
            } else {
                ans+=" ";
                index += 2;
            }
        }        
    } else {
        index = num-1;
        while(1){
            ans+=data[index]+" ";
            if(index === 0){
                break;
            } else {
                index -= 2;
            }
        }
        
        index = 1;

        while(1){
            ans+=data[index];
            if(index === num-2){
                break;
            } else {
                ans+=" ";
                index += 2;
            }
        }     
    }
    
    console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));