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

public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} 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) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} String str = br.readLine(); str br.readLine() br.readLine br str = br.readLine() str br.readLine() br.readLine br String[] strs = str.split(" "); strs str.split(" ") str.split str " " StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			} int i=strs.length -1; int i=strs.length -1; i strs.length -1 strs.length strs strs.length 1 i>=0 i 0 i-- i-- i {
				sb.append(strs[i]).append(" ");
			} {
				sb.append(strs[i]).append(" ");
			} sb.append(strs[i]).append(" ") sb.append(strs[i]).append sb.append(strs[i]) sb.append sb strs[i] strs i " " String mes = ""; mes "" if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			} sb.length()>0 sb.length() sb.length sb 0 {
				mes = sb.substring(0,sb.length()-1);
			} mes = sb.substring(0,sb.length()-1) mes sb.substring(0,sb.length()-1) sb.substring sb 0 sb.length()-1 sb.length() sb.length sb 1 System.out.println(mes) System.out.println System.out System System.out mes String[] args args public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main

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

public class Main {

	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			// 1???????????\???
			String str = br.readLine();
			// 2???????????\???
			str = br.readLine();
			String[] strs = str.split(" ");

			StringBuilder sb = new StringBuilder();
			for(int i=strs.length -1;i>=0;i--){
				sb.append(strs[i]).append(" ");
			}
			String mes = "";
			if(sb.length()>0){
				mes = sb.substring(0,sb.length()-1);
			}
			System.out.println(mes);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}