// ITP1_6_A Reversing Numbers

import java.util.Scanner;

class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int[] a;
      int n = Integer.parseInt(sc.next());
      if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      }
   }
} import java.util.Scanner; Scanner java.util class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int[] a;
      int n = Integer.parseInt(sc.next());
      if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      }
   }
} Main public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int[] a;
      int n = Integer.parseInt(sc.next());
      if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      }
   } main {
      Scanner sc = new Scanner(System.in);
      int[] a;
      int n = Integer.parseInt(sc.next());
      if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      }
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a; a int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      } n <= 100 n 100 {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      } a = new int[n] a new int[n] n for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            a[i] = Integer.parseInt(sc.next());
         } {
            a[i] = Integer.parseInt(sc.next());
         } a[i] = Integer.parseInt(sc.next()) a[i] a i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 1 i 1 i-- i-- i {
            System.out.print(a[i] + " ");
         } {
            System.out.print(a[i] + " ");
         } System.out.print(a[i] + " ") System.out.print System.out System System.out a[i] + " " a[i] a i " " System.out.println(a[0]) System.out.println System.out System System.out a[0] a 0 String[] args args
// ITP1_6_A Reversing Numbers

import java.util.Scanner;

class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int[] a;
      int n = Integer.parseInt(sc.next());
      if (n <= 100) {
         a = new int[n];
         for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(sc.next());
         }
         for (int i = n - 1; i >= 1; i--) {
            System.out.print(a[i] + " ");
         }
         System.out.println(a[0]);
      }
   }
}