import java.io.*;

public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	}
} import java.io.*; io.* java public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	}
} Main public static void main(String[] args)throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int num  = Integer.parseInt(br.readLine()); num Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] arr = br.readLine().split(" "); arr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		} int i = num-1; int i = num-1; i num-1 num 1 i>=0 i 0 i-- i-- i {
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		} {
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		} System.out.print(arr[i]) System.out.print System.out System System.out arr[i] arr i if(i==0)	break; i==0 i 0 break; System.out.print(" ") System.out.print System.out System System.out " " 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
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	}
} public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	}
} Main
import java.io.*;

public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));	
		int num  = Integer.parseInt(br.readLine());
		String[] arr = br.readLine().split(" ");
		for(int i = num-1; i>=0; i--)
		{
			System.out.print(arr[i]);
			if(i==0)	break;
			System.out.print(" ");	
		}
		System.out.println("");
	}
}