import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	}

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

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	} main {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] a = new int[n]; a new int[n] n int i; i for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		} i=0; i=0 i 0 i<n i n i++ i++ i {
			a[i] = scan.nextInt();
		} {
			a[i] = scan.nextInt();
		} a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		} i=n-1; i=n-1 i n-1 n 1 0<=i 0 i i-- i-- i {
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		} {
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		} if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]); i == 0 i 0 System.out.printf("%d\n", a[i]) System.out.printf System.out System System.out "%d\n" a[i] a i System.out.printf("%d ", a[i]) System.out.printf System.out System System.out "%d " a[i] a i scan.close() scan.close scan String[] args args public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	}

} public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int[] a = new int[n];

		int i;

		for(i=0; i<n; i++)
		{
			a[i] = scan.nextInt();
		}

		for(i=n-1; 0<=i; i--)
		{
			if(i == 0) System.out.printf("%d\n", a[i]);
			else System.out.printf("%d ", a[i]);
		}

		scan.close();
	}

}