console.log((args=>{
  const [[n],a] = args.trim().split`\n`.map(r=>r.split` `.map(v=>v|0));
  const m = Math.floor(n/2);
  let b = Array(n).fill(NaN), j = n&1||-1;
  for ( let i = 0; i < n; i++ ) {
    b[m-j*(i+1>>1)] = a[i];
    j = -j;
  }
  return b.join` `;
})(require('fs').readFileSync('/dev/stdin', 'utf8')));
