import java.util.*;
class Main{
public void yatary() {
	Scanner sc = new Scanner(System.in);
	int i;
	int x = sc.nextInt();
	int [] num = new int [x];
	for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	}
	for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	}
}
public static void main(String[]args){
	new Main().yatary();
}
} import java.util.*; util.* java class Main{
public void yatary() {
	Scanner sc = new Scanner(System.in);
	int i;
	int x = sc.nextInt();
	int [] num = new int [x];
	for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	}
	for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	}
}
public static void main(String[]args){
	new Main().yatary();
}
} Main public void yatary() {
	Scanner sc = new Scanner(System.in);
	int i;
	int x = sc.nextInt();
	int [] num = new int [x];
	for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	}
	for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	}
} yatary {
	Scanner sc = new Scanner(System.in);
	int i;
	int x = sc.nextInt();
	int [] num = new int [x];
	for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	}
	for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	}
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i; i int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int [] num = new int [x]; num new int [x] x for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	} i=0; i=0 i 0 i<x i x i++ i++ i {
		num[i] = sc.nextInt();
	} {
		num[i] = sc.nextInt();
	} num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	} i=x-1; i=x-1 i x-1 x 1 i>=0 i 0 i-- i-- i {
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	} {
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	} if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		} i != 0 i 0 {
		System.out.print(num[i] + " ");
		} System.out.print(num[i] + " ") System.out.print System.out System System.out num[i] + " " num[i] num i " " {
			System.out.println(num[i]);
		} System.out.println(num[i]) System.out.println System.out System System.out num[i] num i public static void main(String[]args){
	new Main().yatary();
} main {
	new Main().yatary();
} new Main().yatary() new Main().yatary new Main() String[]args args
import java.util.*;
class Main{
public void yatary() {
	Scanner sc = new Scanner(System.in);
	int i;
	int x = sc.nextInt();
	int [] num = new int [x];
	for(i=0; i<x; i++){
		num[i] = sc.nextInt();
	}
	for(i=x-1; i>=0; i--){
		if(i != 0){
		System.out.print(num[i] + " ");
		}else{
			System.out.println(num[i]);
		}
	}
}
public static void main(String[]args){
	new Main().yatary();
}
}