let n = Int(readLine()!)!
let a = readLine()!.characters.split(" ").map{Int(String($0))!}
var odd:[Int] = []
var even: [Int] = []
for (i, j) in a.enumerate() {
    (i%2 > 0 ? odd : even) += [j]
}
let b = odd.reverse() + even
print((n%2 > 0 ? b.reverse() : b).joinWithSeparator(" "))