import java.io.*;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	}
} import java.io.*; io.* java public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuffer sb = new StringBuffer(); sb new StringBuffer() int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] str = br.readLine().split("\\s+"); str br.readLine().split("\\s+") br.readLine().split br.readLine() br.readLine br "\\s+" int[] a = new int[n]; a new int[n] n for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]); int i = 0; int i = 0; i 0 i < n i n i++ i++ i a[i] = Integer.parseInt(str[i]); a[i] = Integer.parseInt(str[i]) a[i] a i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i int i = a.length; i a.length a a.length do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true); true {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} sb.append(a[i - 1]) sb.append sb a[i - 1] a i - 1 i 1 i-- i if ( i == 0) break; i == 0 i 0 break; sb.append(" ") sb.append sb " " System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	}
} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	}
} Main
import java.io.*;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();
		
		int n = Integer.parseInt(br.readLine());
		String[] str = br.readLine().split("\\s+");
		int[] a = new int[n];
		
		for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
		
		int i = a.length;
		do {
			sb.append(a[i - 1]);
			i--;
			if ( i == 0) break;
			sb.append(" ");
		} while (true);
		
		System.out.println(sb);
	}
}