import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	} main {
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	} BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String first = br.readLine(); first br.readLine() br.readLine br int[] a = new int[Integer.parseInt(first)]; a new int[Integer.parseInt(first)] Integer.parseInt(first) Integer.parseInt Integer first String str = br.readLine(); str br.readLine() br.readLine br String[] stra = str.split(" "); stra str.split(" ") str.split str " " for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		} int i = 0 ; int i = 0 ; i 0 i < a.length i a.length a a.length i++ i++ i {
			a[i] = Integer.parseInt(stra[i]);
		} {
			a[i] = Integer.parseInt(stra[i]);
		} a[i] = Integer.parseInt(stra[i]) a[i] a i Integer.parseInt(stra[i]) Integer.parseInt Integer stra[i] stra i for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		} int i = a.length-1 ; int i = a.length-1 ; i a.length-1 a.length a a.length 1 i >= 0 i 0 i-- i-- i {
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		} {
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		} System.out.print(a[i]) System.out.print System.out System System.out a[i] a i if ( i == 0) break; i == 0 i 0 break; 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) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String first = br.readLine();
		int[] a = new int[Integer.parseInt(first)];
		String str = br.readLine();
		String[] stra = str.split(" ");
		for (int i = 0 ; i < a.length ; i++){
			a[i] = Integer.parseInt(stra[i]);
		}
		for (int i = a.length-1 ; i >= 0 ; i--){
			System.out.print(a[i]);
			if ( i == 0) break;
			System.out.print(" ");
		}
		System.out.println();
	}

}