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

class Main{

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int len = Integer.parseInt(br.readLine());
		int[] array = new int[len];
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");

		for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		}

		for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		}

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

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int len = Integer.parseInt(br.readLine());
		int[] array = new int[len];
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");

		for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		}

		for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		}

	}
} Main public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int len = Integer.parseInt(br.readLine());
		int[] array = new int[len];
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");

		for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		}

		for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		}

	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int len = Integer.parseInt(br.readLine());
		int[] array = new int[len];
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");

		for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		}

		for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int len = Integer.parseInt(br.readLine()); len Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int[] array = new int[len]; array new int[len] len String str = br.readLine(); str br.readLine() br.readLine br StringTokenizer st = new StringTokenizer(str, " "); st new StringTokenizer(str, " ") for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		} int i = 0; int i = 0; i 0 i < len i len i++ i++ i {
			array[i] = Integer.parseInt(st.nextToken());
		} {
			array[i] = Integer.parseInt(st.nextToken());
		} array[i] = Integer.parseInt(st.nextToken()) array[i] array i Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		} int i = len - 1; int i = len - 1; i len - 1 len 1 i >= 0 i 0 i-- i-- i {
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		} {
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		} System.out.print(array[i]) System.out.print System.out System System.out array[i] array i if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			} i != 0 i 0 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " {
				System.out.print("\n");
			} System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.StringTokenizer;

class Main{

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int len = Integer.parseInt(br.readLine());
		int[] array = new int[len];
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");

		for(int i = 0; i < len; i++){
			array[i] = Integer.parseInt(st.nextToken());
		}

		for(int i = len - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}else{
				System.out.print("\n");
			}
		}

	}
}