

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

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	}

} Main public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	} main {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int length = Integer.parseInt(br.readLine()); length Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String in = br.readLine(); in br.readLine() br.readLine br String[] inArray = in.split(" "); inArray in.split(" ") in.split in " " for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		} int i=length-1; int i=length-1; i length-1 length 1 i>=0 i 0 i-- i-- i {
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		} {
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		} if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			} i == 0 i 0 {
				System.out.println(inArray[0]);;
			} System.out.println(inArray[0]) System.out.println System.out System System.out inArray[0] inArray 0 {
			System.out.print(inArray[i]+" ");
			} System.out.print(inArray[i]+" ") System.out.print System.out System System.out inArray[i]+" " inArray[i] inArray i " " String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	}

} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	}

} Main


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

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int length = Integer.parseInt(br.readLine());
		String in = br.readLine();
		String[] inArray = in.split(" ");

		for(int i=length-1; i>=0; i--){
			if(i == 0 ){
				System.out.println(inArray[0]);;
			}else{
			System.out.print(inArray[i]+" ");
			}
		}

	}

}