function Main(input) {
  	input = input.trim();
	var len = parseInt(input.split("\n")[0]);
  	var list = input.split("\n")[1].split(" ");
  	var nextList = list.shift();
  if(len % 2 == 0){
     nextList = list.shift() + " " + nextList;
     }
  while(list.length > 0){
        nextList += " " + list.shift();
    	nextList = list.shift() + " " + nextList;
     }
  console.log(nextList);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
