import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		int i,m;
		int[] n = new int[990];
		String[] str = new String[990];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine().split(" ");
		m = Integer.parseInt(str[0]);
		str = in.readLine().split(" ");
		for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		}
		for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		}
		System.out.println();
		System.out.flush();
	}
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util class Main{
	public static void main(String[] args) throws IOException {
		int i,m;
		int[] n = new int[990];
		String[] str = new String[990];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine().split(" ");
		m = Integer.parseInt(str[0]);
		str = in.readLine().split(" ");
		for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		}
		for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		}
		System.out.println();
		System.out.flush();
	}
} Main public static void main(String[] args) throws IOException {
		int i,m;
		int[] n = new int[990];
		String[] str = new String[990];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine().split(" ");
		m = Integer.parseInt(str[0]);
		str = in.readLine().split(" ");
		for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		}
		for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		}
		System.out.println();
		System.out.flush();
	} main {
		int i,m;
		int[] n = new int[990];
		String[] str = new String[990];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine().split(" ");
		m = Integer.parseInt(str[0]);
		str = in.readLine().split(" ");
		for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		}
		for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		}
		System.out.println();
		System.out.flush();
	} int i i m; m int[] n = new int[990]; n new int[990] 990 String[] str = new String[990]; str new String[990] 990 BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) str = in.readLine().split(" ") str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " m = Integer.parseInt(str[0]) m Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 str = in.readLine().split(" ") str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		} i=0; i=0 i 0 i<m i m i++ i++ i {
			n[i] = Integer.parseInt(str[i]);
		} {
			n[i] = Integer.parseInt(str[i]);
		} n[i] = Integer.parseInt(str[i]) n[i] n i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		} i=m-1; i=m-1 i m-1 m 1 i>=0 i 0 i-- i-- i {
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		} {
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		} if(i!=m-1) System.out.print(" "); i!=m-1 i m-1 m 1 System.out.print(" ") System.out.print System.out System System.out " " System.out.print(n[i]) System.out.print System.out System System.out n[i] n i System.out.println() System.out.println System.out System System.out System.out.flush() System.out.flush System.out System System.out String[] args args
import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		int i,m;
		int[] n = new int[990];
		String[] str = new String[990];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine().split(" ");
		m = Integer.parseInt(str[0]);
		str = in.readLine().split(" ");
		for(i=0;i<m;i++){
			n[i] = Integer.parseInt(str[i]);
		}
		for(i=m-1;i>=0;i--){
			if(i!=m-1) System.out.print(" "); 
			System.out.print(n[i]);
		}
		System.out.println();
		System.out.flush();
	}
}