import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int cnt = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");
		for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		}
	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int cnt = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");
		for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		}
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int cnt = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");
		for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int cnt = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");
		for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int cnt = Integer.parseInt(br.readLine()); cnt Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		} int i=0; int i=0; i 0 i<cnt i cnt i++ i++ i {
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		} {
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		} if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			} i==cnt-1 i cnt-1 cnt 1 {
				System.out.println(str[cnt-i-1]);
			} System.out.println(str[cnt-i-1]) System.out.println System.out System System.out str[cnt-i-1] str cnt-i-1 cnt-i-1 cnt i 1 {
				System.out.print(str[cnt-i-1]+" ");
			} System.out.print(str[cnt-i-1]+" ") System.out.print System.out System System.out str[cnt-i-1]+" " str[cnt-i-1] str cnt-i-1 cnt-i-1 cnt i 1 " " String[] args args
import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int cnt = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");
		for(int i=0;i<cnt;i++){
			if(i==cnt-1){
				System.out.println(str[cnt-i-1]);
			}else{
				System.out.print(str[cnt-i-1]+" ");
			}
		}
	}
}