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

class Main {

	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} 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 class Main {

	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} catch (IOException e) {
			e.printStackTrace();
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} String input = br.readLine(); input br.readLine() br.readLine br String[] text = br.readLine().split(" "); text br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int i; i String ret = ""; ret "" for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			} i = text.length - 1; i = text.length - 1 i text.length - 1 text.length text text.length 1 i >= 0 i 0 i-- i-- i {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			} {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			} if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				} i == text.length - 1 i text.length - 1 text.length text text.length 1 {
					ret = text[i];
				} ret = text[i] ret text[i] text i {
					ret = ret + " " + text[i];
				} ret = ret + " " + text[i] ret ret + " " + text[i] ret + " " + text[i] ret " " text[i] text i System.out.println(ret) System.out.println System.out System System.out ret String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			String[] text = br.readLine().split(" ");
			int i;
			String ret = "";
			for (i = text.length - 1; i >= 0; i--) {
				if (i == text.length - 1) {
					ret = text[i];
				} else {
					ret = ret + " " + text[i];
				}
			}
			System.out.println(ret);

		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}