import java.util.Scanner;


public class Main {

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	}

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	} main {

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in int[] array = new int[n]; array new int[n] n for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			array[i] = in.nextInt();
		} {
			array[i] = in.nextInt();
		} array[i] = in.nextInt() array[i] array i in.nextInt() in.nextInt in for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		} int j = n-1 ; int j = n-1 ; j n-1 n 1 j >= 0 j 0 j-- j-- j {
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		} {
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		} if(j < 0 || j != n -1){
				System.out.print(" ");
			} j < 0 || j != n -1 j < 0 j 0 j != n -1 j n -1 n 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.print(array[j]) System.out.print System.out System System.out array[j] array j System.out.println() System.out.println System.out System System.out in.close() in.close in String[] args args public class Main {

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	}

} public class Main {

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	}

} Main
import java.util.Scanner;


public class Main {

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

		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[] array = new int[n];

		for(int i = 0 ; i < n ; i++ ){
			array[i] = in.nextInt();
		}

		for(int j = n-1 ; j >= 0;j--){
			if(j < 0 || j != n -1){
				System.out.print(" ");
			}
			System.out.print(array[j]);
		}
		System.out.println();
		in.close();

	}

}