import java.util.Scanner;
 
class Main {
   public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      int n = scanner.nextInt();
      if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      }
   }
} import java.util.Scanner; Scanner java.util class Main {
   public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      int n = scanner.nextInt();
      if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      }
   }
} Main public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      int n = scanner.nextInt();
      if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      }
   } main {
      Scanner scanner = new Scanner(System.in);
      int n = scanner.nextInt();
      if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      }
   } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      } n <= 100 n 100 {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      } int[] array = new int[n]; array new int[n] n for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            array[i] = scanner.nextInt();
         } {
            array[i] = scanner.nextInt();
         } array[i] = scanner.nextInt() array[i] array i scanner.nextInt() scanner.nextInt scanner for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 1 i 1 i-- i-- i {
            System.out.print(array[i] + " ");
         } {
            System.out.print(array[i] + " ");
         } System.out.print(array[i] + " ") System.out.print System.out System System.out array[i] + " " array[i] array i " " System.out.println(array[0]) System.out.println System.out System System.out array[0] array 0 String[] args args
import java.util.Scanner;
 
class Main {
   public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      int n = scanner.nextInt();
      if (n <= 100) {
        int[] array = new int[n];
         for (int i = 0; i < n; i++) {
            array[i] = scanner.nextInt();
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(array[i] + " ");
         }
         System.out.println(array[0]);
      }
   }
}