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

	public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	}

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

	public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	}

} Main public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int []a = new int[n]; a new int[n] n for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		} int b = 0; int b = 0; b 0 b<n b n ++b ++b b {
			a[b]=sc.nextInt();
		} {
			a[b]=sc.nextInt();
		} a[b]=sc.nextInt() a[b] a b sc.nextInt() sc.nextInt sc for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		} int b=n-1 ; int b=n-1 ; b n-1 n 1 b>=0 b 0 --b --b b {
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		} {
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		} if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			} b!=0 b 0 {
				System.out.print(a[b]+" ");
			} System.out.print(a[b]+" ") System.out.print System.out System System.out a[b]+" " a[b] a b " " {
				System.out.println(a[b]);
			} System.out.println(a[b]) System.out.println System.out System System.out a[b] a b String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	}

} public class Main {

	public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	}

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

	public static void main(String[] args) throws Exception {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int []a = new int[n];
		for(int b = 0; b<n ; ++b){
			a[b]=sc.nextInt();
		}
		for(int b=n-1 ; b>=0 ; --b){
			if(b!=0){
				System.out.print(a[b]+" ");
			}else{
				System.out.println(a[b]);
			}
		}
	}

}