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

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	}

} 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 NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	}

} Main public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	} 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 StringBuilder sb = new StringBuilder(); sb new StringBuilder() String[] set = br.readLine().split(" "); set br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		} int i = N-1; int i = N-1; i N-1 N 1 i >= 0 i 0 i-- i-- i {
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		} {
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		} if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			} i != 0 i 0 {
				sb.append(set[i]).append(" ");
			} sb.append(set[i]).append(" ") sb.append(set[i]).append sb.append(set[i]) sb.append sb set[i] set i " " {
				sb.append(set[i]);
			} sb.append(set[i]) sb.append sb set[i] set i 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));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	}

} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int N = Integer.parseInt(br.readLine());
		StringBuilder sb = new StringBuilder();

		String[] set = br.readLine().split(" ");

		for(int i = N-1; i >= 0; i--){
			if (i != 0) {
				sb.append(set[i]).append(" ");
			} else {
				sb.append(set[i]);
			}
		}

		System.out.println(sb);

	}

}