/**
  * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A
  * Array - Reversing Numbers
  */
object Main {
  def main(args: Array[String]): Unit = {
    val n = io.StdIn.readInt()
    val result = io.StdIn.readLine().split(" ").map(_.toInt).reverse.mkString(" ")
    println(result)
  }
}