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

public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	} main {
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	} ArrayList<Integer> array = new ArrayList<Integer>(); array new ArrayList<Integer>() ArrayList<Integer> array2 = new ArrayList<Integer>(); array2 new ArrayList<Integer>() BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String data = ""; data "" br.readLine() br.readLine br data = br.readLine() data br.readLine() br.readLine br String [] hairetsu = data.split(" ", 0); hairetsu data.split(" ", 0) data.split data " " 0 for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		} int i = 0; int i = 0; i 0 i < hairetsu.length i hairetsu.length hairetsu hairetsu.length i++ i++ i {
			array.add(Integer.parseInt(hairetsu[i]));
		} {
			array.add(Integer.parseInt(hairetsu[i]));
		} array.add(Integer.parseInt(hairetsu[i])) array.add array Integer.parseInt(hairetsu[i]) Integer.parseInt Integer hairetsu[i] hairetsu i for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		} int i = 0; int i = 0; i 0 i < array.size() i array.size() array.size array i++ i++ i {
			array2.add(array.get(array.size() - 1 - i));
		} {
			array2.add(array.get(array.size() - 1 - i));
		} array2.add(array.get(array.size() - 1 - i)) array2.add array2 array.get(array.size() - 1 - i) array.get array array.size() - 1 - i array.size() - 1 - i array.size() array.size array 1 i for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		} int i = 0; int i = 0; i 0 i < array2.size() i array2.size() array2.size array2 i++ i++ i {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		} {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		} System.out.print(array2.get(i)) System.out.print System.out System System.out array2.get(i) array2.get array2 i if(i < array2.size() - 1) {
				System.out.print(" ");
			} i < array2.size() - 1 i array2.size() - 1 array2.size() array2.size array2 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[] args args public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		ArrayList<Integer> array = new ArrayList<Integer>();
		ArrayList<Integer> array2 = new ArrayList<Integer>();
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String data = "";
		br.readLine();
		data = br.readLine();

		String [] hairetsu = data.split(" ", 0);
		
		for(int i = 0; i < hairetsu.length; i++) {
			array.add(Integer.parseInt(hairetsu[i]));
		}
		
		for(int i = 0; i < array.size(); i++) {
			array2.add(array.get(array.size() - 1 - i));
		}
		
		for(int i = 0; i < array2.size(); i++) {
			System.out.print(array2.get(i));
			if(i < array2.size() - 1) {
				System.out.print(" ");
			}
		}
		System.out.println();

	}
}