import java.io.*;

class Main {
  public static void main(String[] args)throws IOException{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringBuilder sb = new StringBuilder();
      int n = Integer.parseInt(br.readLine());
      String[] data = br.readLine().split(" ");

      for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      }
      sb.append(data[0]);

      System.out.println(sb.toString());

  }
} import java.io.*; io.* java class Main {
  public static void main(String[] args)throws IOException{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringBuilder sb = new StringBuilder();
      int n = Integer.parseInt(br.readLine());
      String[] data = br.readLine().split(" ");

      for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      }
      sb.append(data[0]);

      System.out.println(sb.toString());

  }
} Main public static void main(String[] args)throws IOException{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringBuilder sb = new StringBuilder();
      int n = Integer.parseInt(br.readLine());
      String[] data = br.readLine().split(" ");

      for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      }
      sb.append(data[0]);

      System.out.println(sb.toString());

  } main {
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringBuilder sb = new StringBuilder();
      int n = Integer.parseInt(br.readLine());
      String[] data = br.readLine().split(" ");

      for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      }
      sb.append(data[0]);

      System.out.println(sb.toString());

  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] data = br.readLine().split(" "); data br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      } int i = 0; int i = 0; i 0 i < n-1 i n-1 n 1 {
          sb.append(data[n-++i]).append(" ");
      } {
          sb.append(data[n-++i]).append(" ");
      } sb.append(data[n-++i]).append(" ") sb.append(data[n-++i]).append sb.append(data[n-++i]) sb.append sb data[n-++i] data n-++i n ++i i " " sb.append(data[0]) sb.append sb data[0] data 0 System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args
import java.io.*;

class Main {
  public static void main(String[] args)throws IOException{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringBuilder sb = new StringBuilder();
      int n = Integer.parseInt(br.readLine());
      String[] data = br.readLine().split(" ");

      for(int i = 0; i < n-1;){
          sb.append(data[n-++i]).append(" ");
      }
      sb.append(data[0]);

      System.out.println(sb.toString());

  }
}