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