import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	}
}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	} main {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int[] l = new int[a]; l new int[a] a for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < a i a i++ i++ i {
        	l[i] = sc.nextInt();
        } {
        	l[i] = sc.nextInt();
        } l[i] = sc.nextInt() l[i] l i sc.nextInt() sc.nextInt sc for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        } int j = a-1; int j = a-1; j a-1 a 1 j >= 0 j 0 j-- j-- j {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        } {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        } if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	} j == 0 j 0 {
            	System.out.println(l[j]);
        	} System.out.println(l[j]) System.out.println System.out System System.out l[j] l j {
            	System.out.print(l[j] + " ");
        	} System.out.print(l[j] + " ") System.out.print System.out System System.out l[j] + " " l[j] l j " " String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] l = new int[a];

        for(int i = 0; i < a; i++) {
        	l[i] = sc.nextInt();
        }

        for(int j = a-1; j >= 0; j--) {
        	if(j == 0) {
            	System.out.println(l[j]);
        	} else {
            	System.out.print(l[j] + " ");
        	}

        }
	}
}

