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