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

public class Main {

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

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {

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

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	}
} Main public static void main(String[] args) throws IOException {

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	} main {

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String input = scanner.nextLine(); input scanner.nextLine() scanner.nextLine scanner int num = Integer.parseInt(input); num Integer.parseInt(input) Integer.parseInt Integer input String[] arr = scanner.nextLine().split(" "); arr scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " for(int i=arr.length-1;i>=0;i--){

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

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		} {

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		} System.out.print(arr[i]) System.out.print System.out System System.out arr[i] arr i if(i!=0){System.out.print(" ");}else{System.out.println();} i!=0 i 0 {System.out.print(" ");} System.out.print(" ") System.out.print System.out System System.out " " {System.out.println();} System.out.println() System.out.println System.out System System.out String[] args args public class Main {

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

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	}
} public class Main {

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

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	}
} Main

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

public class Main {

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

		Scanner scanner = new Scanner(System.in);
		String input = scanner.nextLine();

		int num = Integer.parseInt(input);

		String[] arr = scanner.nextLine().split(" ");

		//int[] intarr = new int[num];

		for(int i=arr.length-1;i>=0;i--){

			System.out.print(arr[i]);
			if(i!=0){System.out.print(" ");}else{System.out.println();}
		}
	}
}