let n = Int(readLine()!)!
let a = readLine()!.characters.split(" ").map{Int(String($0))!}
var b: [Int] = []
for i in 0..<n {
  if (n-i) % 2 > 0 {
    b = b + [a[i]]
  } else {
    b = [a[i]] + b
  }
}
print(b.joinWithSeparator(" "))