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

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintStream; PrintStream java.io public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() PrintStream out = System.out; out System.out System System.out int n = Integer.parseInt(in.readLine()); n Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in String[] str = new String[n]; str new String[n] n str = in.readLine().split(" ") str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		} int i = 1; int i = 1; i 1 i <= n i n i += 1 i += 1 i 1 {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		} {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		} if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			} i == n i n {
				sb.append(str[n - i]);
				break;
			} sb.append(str[n - i]) sb.append sb str[n - i] str n - i n i break; {
				sb.append(str[n - i]);
				sb.append(" ");
			} sb.append(str[n - i]) sb.append sb str[n - i] str n - i n i sb.append(" ") sb.append sb " " out.println(sb) out.println out sb String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		PrintStream out = System.out;
		int n = Integer.parseInt(in.readLine());// 要素数n
		String[] str = new String[n];
		str = in.readLine().split(" ");
		for (int i = 1; i <= n; i += 1) {
			if (i == n) {
				sb.append(str[n - i]);
				break;
			} else {
				sb.append(str[n - i]);
				sb.append(" ");
			}
		}
		out.println(sb);
	}
}