import java.util.Scanner;

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

public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] ary = new int[n];
		
		for(int i=0; i<n; i++){
			ary[i] = in.nextInt();
		}
		for(int i=n-1; i>=0; i--){
			System.out.print(ary[i]);
			if(i == 0){
				break;
			}else{
				System.out.print(" ");
			}
		}
		System.out.println();
		in.close();
	}
}