object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val n = sc.nextLine
    val list = sc.nextLine.split(' ').reverse

    list.foreach(print(_.toString+" "))
    println    

  }
}