import java.util.*;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    } main {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

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

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int n = Integer.parseInt(line);

        line = sc.nextLine();
        String[] l = line.split(" ");

        int[] a = new int[n];
        for(int i = 0; i < n; i++) {
          a[i] = Integer.parseInt(l[i]);
        }

        for(int i = n - 1; 0 <= i; i--) {
          System.out.print(a[i]);
          if(i != 0) {
            System.out.print(" ");
          }
        }

        System.out.println();
    }
}