import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] number = new int[n];
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			number[i] = a;
		}

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

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

		for(int i = n - 1; i >= 0; i--){
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] number = new int[n];
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			number[i] = a;
		}

		for(int i = n - 1; i >= 0; i--){
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] number = new int[n]; number new int[n] n for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			number[i] = a;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int a = scan.nextInt();
			number[i] = a;
		} {
			int a = scan.nextInt();
			number[i] = a;
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan number[i] = a number[i] number i a for(int i = n - 1; i >= 0; i--){
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		} int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		} {
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		} System.out.print(number[i]) System.out.print System.out System System.out number[i] number i if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			} 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.println System.out System System.out "" String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] number = new int[n];
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			number[i] = a;
		}

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

		for(int i = n - 1; i >= 0; i--){
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		}
	}
} Main
import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] number = new int[n];
		for(int i = 0; i < n; i++){
			int a = scan.nextInt();
			number[i] = a;
		}

		for(int i = n - 1; i >= 0; i--){
			System.out.print(number[i]);
			if(i != 0){
				System.out.print(" ");
			} else{
				System.out.println("");
			}
		}
	}
}