import java.io.*;

public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	}

} import java.io.*; io.* java public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	}

} Main public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	} main { 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String sc = br.readLine(); sc br.readLine() br.readLine br int n = Integer.parseInt(sc); n Integer.parseInt(sc) Integer.parseInt Integer sc String line2 = br.readLine(); line2 br.readLine() br.readLine br String[] str = line2.split(" "); str line2.split(" ") line2.split line2 " " int[] x = new int[n]; x new int[n] n for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		} int i = 0; int i = 0; i 0 i<n i n i++ i++ i {
			x[i] = Integer.parseInt(str[i]);
		} {
			x[i] = Integer.parseInt(str[i]);
		} x[i] = Integer.parseInt(str[i]) x[i] x i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		} int i = n-1; int i = n-1; i n-1 n 1 i>0 i 0 i-- i-- i {
			System.out.print(x[i] + " ");
		} {
			System.out.print(x[i] + " ");
		} System.out.print(x[i] + " ") System.out.print System.out System System.out x[i] + " " x[i] x i " " System.out.println(x[0]) System.out.println System.out System System.out x[0] x 0 String[] args args public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	}

} public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	}

} Main
import java.io.*;

public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String sc = br.readLine();
		int n = Integer.parseInt(sc);
		String line2 = br.readLine();
		String[] str = line2.split(" ");
		int[] x = new int[n];
		for (int i = 0; i<n ; i++ ) {
			x[i] = Integer.parseInt(str[i]);
		}
		for (int i = n-1; i>0 ; i-- ) {
			System.out.print(x[i] + " ");
		}
		System.out.println(x[0]);
	}

}