import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] a = new int[n]; a new int[n] n for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		} int b = 0; int b = 0; b 0 b<n b n b++ b++ b {
			a[b] = scan.nextInt();
		} {
			a[b] = scan.nextInt();
		} a[b] = scan.nextInt() a[b] a b scan.nextInt() scan.nextInt scan for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		} int d = 1; int d = 1; d 1 d<=n d n d++ d++ d {
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		} {
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		} System.out.print(a[n-d]) System.out.print System.out System System.out a[n-d] a n-d n d if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			} d==n d n {
				System.out.println("");
			} System.out.println("") System.out.println System.out System System.out "" {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];
		for(int b = 0;b<n;b++){
			a[b] = scan.nextInt();
		}
		for(int d = 1;d<=n;d++){
			System.out.print(a[n-d]);
			if(d==n){
				System.out.println("");
			}else{
				System.out.print(" ");
			}
		}
	}
}