object Main extends App {
  val scanner = new java.util.Scanner(System.in)
  val n = scanner.nextInt()
  val as = (1 to n).map(_ => scanner.nextInt())

  val outputs = as.reverse

  println(outputs.mkString(" "))
}