import java.util.Scanner

fun main(args:Array<String>){
    val cin = Scanner(System.`in`)
    val n = cin.nextInt()
    val list = mutableListOf<Int>()

    for(i in 1..n){
	list.add(cin.nextInt())
    }

    list.reverse()

    for(i in list.indices){
	if(i > 0) print(" ")
	print(list[i])
    }
    println()
}

