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

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	}

} 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) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	}

} Main public static void main(String[] args) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	} main {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	} int numN = 0; numN 0 int i = 0; i 0 String outputNum = ""; outputNum "" String[] NumList; NumList try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		} catch (NumberFormatException e) {
			System.out.println(e);
		} NumberFormatException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e catch (IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br numN = Integer.parseInt(line) numN Integer.parseInt(line) Integer.parseInt Integer line line = br.readLine() line br.readLine() br.readLine br if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			} line != null line null {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			} NumList = line.split(" ", 0) NumList line.split(" ", 0) line.split line " " 0 int Count = numN - 1; Count numN - 1 numN 1 for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				} i = 0; i = 0 i 0 i < NumList.length i NumList.length NumList NumList.length i++ i++ i {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				} {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				} if(Count != numN - 1){
						outputNum += " ";
					} Count != numN - 1 Count numN - 1 numN 1 {
						outputNum += " ";
					} outputNum += " " outputNum " " outputNum += NumList[Count] outputNum NumList[Count] NumList Count Count-- Count System.out.println(outputNum) System.out.println System.out System System.out outputNum String[] args args public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	}

} public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	}

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

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int numN = 0;
		int i = 0;

		//????????¨????????°
		String outputNum = "";

		String[] NumList;

		try {
			//??\????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();

			numN = Integer.parseInt(line);

			//????????????
			line = br.readLine();

			if (line != null) {

				//??°??£?????´??°?????????
				NumList = line.split(" ", 0);
				//System.out.println(numN );

				int Count = numN - 1;
				for (i = 0; i < NumList.length;i++) {
					
					//???????????????????????????
					if(Count != numN - 1){
						outputNum += " ";
					}
					outputNum += NumList[Count];
					Count--;
				}
				System.out.println(outputNum);
			}
		} catch (NumberFormatException e) {
			System.out.println(e);
		}catch (IOException e) {
			System.out.println(e);
		}

	}

}