import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	}
} Main public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	} main {
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int count = scan.nextInt(); count scan.nextInt() scan.nextInt scan int array[] = new int[count]; array new int[count] count for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i< count i count i++ i++ i {
			array[i] = scan.nextInt();
		} {
			array[i] = scan.nextInt();
		} array[i] = scan.nextInt() array[i] array i scan.nextInt() scan.nextInt scan for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		} int i = count - 1; int i = count - 1; i count - 1 count 1 i > 0 i 0 i-- i-- i {
			System.out.print(array[i] + " ");
		} {
			System.out.print(array[i] + " ");
		} System.out.print(array[i] + " ") System.out.print System.out System System.out array[i] + " " array[i] array i " " System.out.println(array[0]) System.out.println System.out System System.out array[0] array 0 String[] args args public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		int count = scan.nextInt();
		int array[] = new int[count];
		for(int i = 0;i< count;i++)
		{
			array[i] = scan.nextInt();
		}
		for(int i = count - 1;i > 0;i--)
		{
			System.out.print(array[i] + " ");
		}
		System.out.println(array[0]);
	}
}