import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		int n =scane.nextInt();

		int[] a = new int[n];

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

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

	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		int n =scane.nextInt();

		int[] a = new int[n];

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

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

	}
} Main public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		int n =scane.nextInt();

		int[] a = new int[n];

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

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

	} main {

		Scanner scane = new Scanner(System.in);

		int n =scane.nextInt();

		int[] a = new int[n];

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

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

	} Scanner scane = new Scanner(System.in); scane new Scanner(System.in) int n =scane.nextInt(); n scane.nextInt() scane.nextInt scane int[] a = new int[n]; a new int[n] n for(int i =0; i <n; i++){
			a[i] = scane.nextInt();
		} int i =0; int i =0; i 0 i <n i n i++ i++ i {
			a[i] = scane.nextInt();
		} {
			a[i] = scane.nextInt();
		} a[i] = scane.nextInt() a[i] a i scane.nextInt() scane.nextInt scane for(int i =a.length-1; i>=0; --i){
			if(i !=0){
			System.out.print(a[i]+" ");
			}else{
				System.out.println(a[i]);
			}
		} int i =a.length-1; int i =a.length-1; i a.length-1 a.length a a.length 1 i>=0 i 0 --i --i i {
			if(i !=0){
			System.out.print(a[i]+" ");
			}else{
				System.out.println(a[i]);
			}
		} {
			if(i !=0){
			System.out.print(a[i]+" ");
			}else{
				System.out.println(a[i]);
			}
		} if(i !=0){
			System.out.print(a[i]+" ");
			}else{
				System.out.println(a[i]);
			} i !=0 i 0 {
			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[i]);
			} System.out.println(a[i]) System.out.println System.out System System.out a[i] a i String[] args args
import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		int n =scane.nextInt();

		int[] a = new int[n];

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

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

	}
}