
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

/**
??°???????????¢

?????????????????°???????????????????????????????????°?????????????????????????????????

Input
??\????????\????????¢?????§?????????????????????

n
a1 a2 . . . an
n ?????°????????????????????????ai ??? i ???????????°?????¨????????????

Output
???????????°?????????????????????????????????????????°??????????´??????????????????????????????\?????????????????????????????°????????????????????\??????????????¨?????¨????????????????????????

Constraints
n ??? 100
0 ??? ai < 1000

http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A

 * @author wsKmatsuda
 *
 */
public class Main{

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	}
	/**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util public class Main{

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	}
	/**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	}

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

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	} main {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

		} int num = Integer.parseInt(reader.readLine()); num Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader String[] numData = reader.readLine().split(" "); numData reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " outputReverseArray(numData) outputReverseArray numData String[] args args /**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	} outputReverseArray {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	} List<String> revList = new ArrayList<String>(); revList new ArrayList<String>() for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		} int i=numData.length-1 ; int i=numData.length-1 ; i numData.length-1 numData.length numData numData.length 1 i > -1 i -1 1 i-- i-- i {
			revList.add(numData[i]);
		} {
			revList.add(numData[i]);
		} revList.add(numData[i]) revList.add revList numData[i] numData i for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		} int i=0; int i=0; i 0 i<revList.size() i revList.size() revList.size revList i++ i++ i {
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		} {
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		} System.out.print(revList.get(i)) System.out.print System.out System System.out revList.get(i) revList.get revList i if(i != revList.size()-1){
				System.out.print(" ");
			} i != revList.size()-1 i revList.size()-1 revList.size() revList.size revList 1 {
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] numData numData public class Main{

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	}
	/**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	}

} public class Main{

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	}
	/**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	}

} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

/**
??°???????????¢

?????????????????°???????????????????????????????????°?????????????????????????????????

Input
??\????????\????????¢?????§?????????????????????

n
a1 a2 . . . an
n ?????°????????????????????????ai ??? i ???????????°?????¨????????????

Output
???????????°?????????????????????????????????????????°??????????´??????????????????????????????\?????????????????????????????°????????????????????\??????????????¨?????¨????????????????????????

Constraints
n ??? 100
0 ??? ai < 1000

http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A

 * @author wsKmatsuda
 *
 */
public class Main{

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			int num = Integer.parseInt(reader.readLine());
			String[] numData = reader.readLine().split(" ");
			outputReverseArray(numData);

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

	}
	/**
	 *
	 * @param numData
	 */
	private static void outputReverseArray(String[] numData) {

		List<String> revList = new ArrayList<String>();
		for(int i=numData.length-1 ; i > -1; i--){
			revList.add(numData[i]);
		}
		for(int i=0;i<revList.size();i++){
			System.out.print(revList.get(i));
			if(i != revList.size()-1){
				System.out.print(" ");
			}
		}
		System.out.println();
	}

}