import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String line1 = reader.readLine(); line1 reader.readLine() reader.readLine reader int n = Integer.parseInt(line1); n Integer.parseInt(line1) Integer.parseInt Integer line1 String line2 = reader.readLine(); line2 reader.readLine() reader.readLine reader String[] sarray = line2.split(" ", -1); sarray line2.split(" ", -1) line2.split line2 " " -1 1 for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		} int i = 0; int i = 0; i 0 i < (n - 1) i (n - 1) n 1 i++ i++ i {
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		} {
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		} System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ") System.out.print System.out System System.out Integer.parseInt(sarray[(n - i - 1)]) + " " Integer.parseInt(sarray[(n - i - 1)]) Integer.parseInt Integer sarray[(n - i - 1)] sarray (n - i - 1) n - i - 1 n i 1 " " System.out.println(Integer.parseInt(sarray[0])) System.out.println System.out System System.out Integer.parseInt(sarray[0]) Integer.parseInt Integer sarray[0] sarray 0 String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	}
} Main
import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line1 = reader.readLine();
		int n = Integer.parseInt(line1);//1stLine
		String line2 = reader.readLine();//2ndLine
		String[] sarray = line2.split(" ", -1);
		for(int i = 0; i < (n - 1); i++){
			System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
		}
		System.out.println(Integer.parseInt(sarray[0]));
	}
}