import java.util.Scanner;



public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    }
} Main public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    } main {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int an[] = new int[100]; an new int[100] 100 int n = input.nextInt(); n input.nextInt() input.nextInt input for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            an[i] = input.nextInt();
        } {
            an[i] = input.nextInt();
        } an[i] = input.nextInt() an[i] an i input.nextInt() input.nextInt input for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 1 i 1 i-- i-- i {
            System.out.printf("%d ", an[i]);
        } {
            System.out.printf("%d ", an[i]);
        } System.out.printf("%d ", an[i]) System.out.printf System.out System System.out "%d " an[i] an i System.out.printf("%d\n", an[0]) System.out.printf System.out System System.out "%d\n" an[0] an 0 String[] args args public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    }
} Main
import java.util.Scanner;



public class Main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int an[] = new int[100];
        int n = input.nextInt();
        for(int i = 0; i < n; i++) {
            an[i] = input.nextInt();
        }

        for(int i = n - 1; i >= 1; i--){
            System.out.printf("%d ", an[i]);
        }
        System.out.printf("%d\n", an[0]);
    }
}
