fun main(args:Array<String>) {
	val n = readLine()!!.toInt()
	val a = readLine()!!.split(" ").map{ it.toLong() }
	
	((n-1 downTo 0 step 2)+(n-2 downTo 0 step 2).reversed())
			.map{a[it]}
			.fold(StringBuilder()){sb,it->
				sb.append(it).append(" ")
			}.let {println(it)}
}