import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val list = mutableListOf<Int>()
    (1..n).forEach { list.add(scanner.nextInt()) }
    list.reverse()
    println(list.joinToString(" "))
}
