import java.io.*;
   
class Main{
    public static void main(String[] args) throws IOException{
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 
        int x = Integer.parseInt(br.readLine());
        String[] str = br.readLine().split(" ");
 
        for(int i = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	}
	System.out.println();
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args) throws IOException{
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 
        int x = Integer.parseInt(br.readLine());
        String[] str = br.readLine().split(" ");
 
        for(int i = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	}
	System.out.println();
    }
} Main public static void main(String[] args) throws IOException{
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 
        int x = Integer.parseInt(br.readLine());
        String[] str = br.readLine().split(" ");
 
        for(int i = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	}
	System.out.println();
    } main {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 
        int x = Integer.parseInt(br.readLine());
        String[] str = br.readLine().split(" ");
 
        for(int i = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	}
	System.out.println();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x = Integer.parseInt(br.readLine()); x 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 = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	} int i = str.length; int i = str.length; i str.length str str.length i > 0 i 0 i-- i-- i {
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	} {
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	} System.out.print(str[i-1]) System.out.print System.out System System.out str[i-1] str i-1 i 1 if(i != 1){
			System.out.print(" ");
		} i != 1 i 1 {
			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 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 x = Integer.parseInt(br.readLine());
        String[] str = br.readLine().split(" ");
 
        for(int i = str.length; i > 0; i--){
		System.out.print(str[i-1]);
		if(i != 1){
			System.out.print(" ");
		}
	}
	System.out.println();
    }
}