function Main(input){
  var n = input.split("\n")[0];
  n = parseInt(n,10);
  var a = input.split("\n")[1].split(" ");
  var b = [];

  for(i=0;i<n;i+=2){
    b.push(a[i]);
    b.unshift(a[i+1]);
  }
  var ans = b.join(" ");
  console.log(ans);
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));


