object Main {
  def main(args: Array[String]) {
    val num = scala.io.StdIn.readInt()
    val list = scala.io.StdIn.readLine().split(" ").toList.map(_.toInt)

    println(list.reverse.mkString(" "))
  }
}