import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        
        	String input = br.readLine();
        	String[] inputan = br.readLine().split(" ");
        	for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
        	{
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	}
        	
        	
	}

} Main public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        
        	String input = br.readLine();
        	String[] inputan = br.readLine().split(" ");
        	for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
        	{
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	}
        	
        	
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        
        	String input = br.readLine();
        	String[] inputan = br.readLine().split(" ");
        	for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
        	{
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	}
        	
        	
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String input = br.readLine(); input br.readLine() br.readLine br String[] inputan = br.readLine().split(" "); inputan br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
        	{
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	} int j = Integer.parseInt(input) - 1; int j = Integer.parseInt(input) - 1; j Integer.parseInt(input) - 1 Integer.parseInt(input) Integer.parseInt Integer input 1 j >= 0 j 0 j-- j-- j {
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	} {
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	} System.out.print(inputan[j]) System.out.print System.out System System.out inputan[j] inputan j if (j > 0)
        			System.out.print(" "); j > 0 j 0 System.out.print(" ") System.out.print System.out System System.out " " if (j == 0)
        			System.out.println(); j == 0 j 0 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{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        
        	String input = br.readLine();
        	String[] inputan = br.readLine().split(" ");
        	for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
        	{
        		System.out.print(inputan[j]);
        		if (j > 0)
        			System.out.print(" ");
        		if (j == 0)
        			System.out.println();
        	}
        	
        	
	}

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

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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

}