import java.util.Scanner;
public class Main {
public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	}
}
 import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	}
} Main public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	} main {
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int i=sc.nextInt(); i sc.nextInt() sc.nextInt sc int N[]=new int[i]; N new int[i] i for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	} int j=0; int j=0; j 0 j<i j i j++ j++ j {
		N[j]=sc.nextInt();
	} {
		N[j]=sc.nextInt();
	} N[j]=sc.nextInt() N[j] N j sc.nextInt() sc.nextInt sc for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	} int s=0; int s=0; s 0 s<i s i s++ s++ s {
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	} {
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	} System.out.print(N[i-1-s]) System.out.print System.out System System.out N[i-1-s] N i-1-s i-1-s i 1 s if(s<(i-1))System.out.print(" "); s<(i-1) s (i-1) i 1 System.out.print(" ") System.out.print System.out System System.out " " System.out.print("\n") System.out.print System.out System System.out "\n" String[] args args public class Main {
public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	}
} public class Main {
public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	}
} Main
import java.util.Scanner;
public class Main {
public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
	int i=sc.nextInt();
	int N[]=new int[i];
	for(int j=0;j<i;j++){
		N[j]=sc.nextInt();
	}
	for(int s=0;s<i;s++){
		System.out.print(N[i-1-s]);
		if(s<(i-1))System.out.print(" ");
	}
	System.out.print("\n");
	}
}

