import io.StdIn.{readInt, readLine}
object Main extends App {
  val n = readInt
  val as = readLine.split(" ").map(_.toInt)
  println(solve(as))

  def solve(as: Seq[Int]) = {
    ((for (i <- (as.size - 1) to 0 by -2) yield as(i)) ++
    (for (i <- (as.size - 2) to 0 by -2) yield as(i)).reverse).mkString(" ")
  }
}
