import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} 
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} 
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() String lineN = br.readLine(); lineN br.readLine() br.readLine br String[] lineA = br.readLine().split(" "); lineA br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int n = Integer.parseInt(lineN); n Integer.parseInt(lineN) Integer.parseInt Integer lineN for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		} int i = n-1 ; int i = n-1 ; i n-1 n 1 i >= 0 i 0 i-- i-- i {
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		} {
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		} int a = Integer.parseInt(lineA[i]); a Integer.parseInt(lineA[i]) Integer.parseInt Integer lineA[i] lineA i sb.append(a) sb.append sb a if(i != 0) sb.append(" "); i != 0 i 0 sb.append(" ") sb.append sb " " System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} 
} public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} 
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String lineN = br.readLine();
		String[] lineA = br.readLine().split(" ");
		int n = Integer.parseInt(lineN);
 		for(int i = n-1 ; i >= 0 ; i--){
                 	int a = Integer.parseInt(lineA[i]);
			sb.append(a);
			if(i != 0) sb.append(" ");
		}
		System.out.println(sb);
	} 
}