import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} Main public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		} catch (Exception e) {
			System.err.println(e);
		} Exception e {
			System.err.println(e);
		} System.err.println(e) System.err.println System.err System System.err e {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in)); br new BufferedReader(new InputStreamReader(
					System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] strArray = br.readLine().split("\\s"); strArray br.readLine().split("\\s") br.readLine().split br.readLine() br.readLine br "\\s" for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			} int i = n - 1; int i = n - 1; i n - 1 n 1 0 < i + 1 0 i + 1 i 1 i-- i-- i {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			} {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			} System.out.print(strArray[i]) System.out.print System.out System System.out strArray[i] strArray i if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				} i == 0 i 0 {
					System.out.println();
				} System.out.println() System.out.println System.out System System.out {
					System.out.print(" ");
				} System.out.print(" ") System.out.print System.out System System.out " " br.close() br.close br String[] args args public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			int n = Integer.parseInt(br.readLine());
			String[] strArray = br.readLine().split("\\s");
			
			for (int i = n - 1; 0 < i + 1; i--) {
				System.out.print(strArray[i]);
				if(i == 0){
					System.out.println();
				}else{
					System.out.print(" ");
				}	
			}
			
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
}