import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
	  public static void main(String[] args) throws IOException{
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		int num = Integer.parseInt(str);
		String resultLine ="";
		
			
			String[] inputStr = br.readLine().split(" ");
			String[] inputNum = new String[num];
			
			for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			}

			for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			}
			String new_str1 = resultLine.trim();
			System.out.println(new_str1);
	}	
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
	  public static void main(String[] args) throws IOException{
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		int num = Integer.parseInt(str);
		String resultLine ="";
		
			
			String[] inputStr = br.readLine().split(" ");
			String[] inputNum = new String[num];
			
			for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			}

			for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			}
			String new_str1 = resultLine.trim();
			System.out.println(new_str1);
	}	
} Main public static void main(String[] args) throws IOException{
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		int num = Integer.parseInt(str);
		String resultLine ="";
		
			
			String[] inputStr = br.readLine().split(" ");
			String[] inputNum = new String[num];
			
			for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			}

			for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			}
			String new_str1 = resultLine.trim();
			System.out.println(new_str1);
	} main {
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		int num = Integer.parseInt(str);
		String resultLine ="";
		
			
			String[] inputStr = br.readLine().split(" ");
			String[] inputNum = new String[num];
			
			for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			}

			for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			}
			String new_str1 = resultLine.trim();
			System.out.println(new_str1);
	} BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int num = Integer.parseInt(str); num Integer.parseInt(str) Integer.parseInt Integer str String resultLine =""; resultLine "" String[] inputStr = br.readLine().split(" "); inputStr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String[] inputNum = new String[num]; inputNum new String[num] num for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			} int i=0; int i=0; i 0 i<num i num i++ i++ i {
				inputNum[i] = (inputStr[(num-1)-i]);
			} {
				inputNum[i] = (inputStr[(num-1)-i]);
			} inputNum[i] = (inputStr[(num-1)-i]) inputNum[i] inputNum i (inputStr[(num-1)-i]) inputStr (num-1)-i (num-1) num 1 i for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			} int j=0; int j=0; j 0 j<num j num j++ j++ j {
				resultLine = resultLine +inputNum[j] + " ";
			} {
				resultLine = resultLine +inputNum[j] + " ";
			} resultLine = resultLine +inputNum[j] + " " resultLine resultLine +inputNum[j] + " " resultLine +inputNum[j] + " " resultLine inputNum[j] inputNum j " " String new_str1 = resultLine.trim(); new_str1 resultLine.trim() resultLine.trim resultLine System.out.println(new_str1) System.out.println System.out System System.out new_str1 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
	  public static void main(String[] args) throws IOException{
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		int num = Integer.parseInt(str);
		String resultLine ="";
		
			
			String[] inputStr = br.readLine().split(" ");
			String[] inputNum = new String[num];
			
			for(int i=0; i<num; i++){
				inputNum[i] = (inputStr[(num-1)-i]);
			}

			for(int j=0; j<num; j++) {
				resultLine = resultLine +inputNum[j] + " ";
			}
			String new_str1 = resultLine.trim();
			System.out.println(new_str1);
	}	
}