import java.util.Scanner;

public class Main{
	public static void main(String [] args){
		Scanner sc = new Scanner(System.in);
		int i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		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 i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	}
} Main public static void main(String [] args){
		Scanner sc = new Scanner(System.in);
		int i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	} main {
		Scanner sc = new Scanner(System.in);
		int i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i i n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int array[] = new int[	100]; array new int[	100] 100 for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			array[i] = sc.nextInt();
		} {
			array[i] = sc.nextInt();
		} array[i] = sc.nextInt() array[i] array i sc.nextInt() sc.nextInt sc for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} i = i - 1; i = i - 1 i i - 1 i 1 i >= 0 i 0 i-- i-- i {
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} {
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		} System.out.print(array[i]) System.out.print System.out System System.out array[i] array i if(i != 0){
				System.out.print(" ");
			} i != 0 i 0 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " 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 i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	}
} public class Main{
	public static void main(String [] args){
		Scanner sc = new Scanner(System.in);
		int i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String [] args){
		Scanner sc = new Scanner(System.in);
		int i,n = sc.nextInt();
		int array[] = new int[	100];
		for(i = 0; i < n; i++){
			array[i] = sc.nextInt();
		}
		for(i = i - 1; i >= 0; i--){
			System.out.print(array[i]);
			if(i != 0){
				System.out.print(" ");
			}
		}
		System.out.println("");
	}
}