
object Main {
  def main(args: Array[String]): Unit = {
    val n = scala.io.StdIn.readInt()
    val line = scala.io.StdIn.readLine().split(" ").map(_.toInt)
    println(line.reverse.mkString(" "))
  }
}