function Main(input) {
  	input = input.trim();
	var len = parseInt(input.split("\n")[0]);
  	var list = input.split("\n")[1].split(" ");	
  var nextList = list[0];
  var flag = 0;
  if(len % 2 == 0){
     nextList = list[1] + " " + nextList;
    flag = 1;
     }
  for(var i = 1 + flag; i < len; i = i + 2){
        nextList += " " + list[i];
    	nextList = list[i + 1] + " " + nextList;
     }
  console.log(nextList);
}

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