import java.util.Scanner;

public class Main{
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

}
} Main public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] a = new int[n]; a new int[n] n for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成 int i=0; int i=0; i 0 i< n i n i++ i++ i a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成 a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		} int j=a.length-1 ; int j=a.length-1 ; j a.length-1 a.length a a.length 1 j>=0 j 0 j-- j-- j {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		} {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		} if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		} j!=0 j 0 {
			System.out.print(a[j] + " ");
		} System.out.print(a[j] + " ") System.out.print System.out System System.out a[j] + " " a[j] a j " " {
			System.out.print(a[j]);
		} System.out.print(a[j]) System.out.print System.out System System.out a[j] a j System.out.println() System.out.println System.out System System.out String[]args args public class Main{
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

}
} public class Main{
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(); //yousoの中身に一つ目の入力を保存
		int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
		for(int i=0; i< n; i++)a[i] = sc.nextInt(); //ｎの数だけ繰り返す。aを生成
		for(int j=a.length-1 ; j>=0; j--) {
			if(j!=0) {
			System.out.print(a[j] + " ");
		}else {
			System.out.print(a[j]);
		}
		}
		System.out.println();

}
}
