import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
}
System.out.println();
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
}
System.out.println();
}
} Main public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
}
System.out.println();
} main {
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
}
System.out.println();
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int[] c=new int[101]; c new int[101] 101 for(int b=0;b<a;b++){
c[b]=scan.nextInt();
} int b=0; int b=0; b 0 b<a b a b++ b++ b {
c[b]=scan.nextInt();
} {
c[b]=scan.nextInt();
} c[b]=scan.nextInt() c[b] c b scan.nextInt() scan.nextInt scan for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
} int e=a-1; int e=a-1; e a-1 a 1 e>=0 e 0 e-- e-- e {
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
} {
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
} if(e!=a-1)
		System.out.print(" "); e!=a-1 e a-1 a 1 System.out.print(" ") System.out.print System.out System System.out " " System.out.print(c[e]) System.out.print System.out System System.out c[e] c e System.out.println() System.out.println System.out System System.out String[] args args
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
	if(e!=a-1)
		System.out.print(" ");
		
System.out.print(c[e]);
}
System.out.println();
}
}