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



public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	}

	//????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	}

} 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 reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	}

	//????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	}

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

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	} main {

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	} BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+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 "??¨??????" e {
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		} int n=Integer.parseInt(reader.readLine()); n Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader String text=reader.readLine(); text reader.readLine() reader.readLine reader String[] num_array=text.split(" "); num_array text.split(" ") text.split text " " int[] num_array_int=new int[num_array.length]; num_array_int new int[num_array.length] num_array.length num_array num_array.length for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		} int i=0; int i=0; i 0 i<num_array.length i num_array.length num_array num_array.length i++ i++ i {
			num_array_int[i]=Integer.parseInt(num_array[i]);
		} {
			num_array_int[i]=Integer.parseInt(num_array[i]);
		} num_array_int[i]=Integer.parseInt(num_array[i]) num_array_int[i] num_array_int i Integer.parseInt(num_array[i]) Integer.parseInt Integer num_array[i] num_array i swap(num_array_int) swap num_array_int for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		} {
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		} System.out.print(num_array_int[i]) System.out.print System.out System System.out num_array_int[i] num_array_int i if(i!=n-1){System.out.print(" ");} i!=n-1 i n-1 n 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 reader.close() reader.close reader String[] args args //????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	} swap {
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	} int len=x.length; len x.length x x.length int a; a for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		} int i=0; int i=0; i 0 i<(len/2) i (len/2) len 2 i++ i++ i {
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		} {
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		} a=x[i] a x[i] x i x[i]=x[(len-1)-i] x[i] x i x[(len-1)-i] x (len-1)-i (len-1) len 1 i x[(len-1)-i]=a x[(len-1)-i] x (len-1)-i (len-1) len 1 i a int x[] x public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	}

	//????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	}

} public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	}

	//????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	}

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



public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));


		try{
		int n=Integer.parseInt(reader.readLine());//n?????????
		String text=reader.readLine();


		String[] num_array=text.split(" ");
		int[] num_array_int=new int[num_array.length];

		for(int i=0;i<num_array.length;i++){
			num_array_int[i]=Integer.parseInt(num_array[i]);
		}

		swap(num_array_int);

		for(int i=0;i<n;i++){
			System.out.print(num_array_int[i]);
			if(i!=n-1){System.out.print(" ");}
		}System.out.println();
		reader.close();

		}catch(IOException e){
			System.out.println("??¨??????"+e);
		}

	}

	//????????????????????\?????????????????????????????????
	public static void swap(int x[]){
		//????????????????????????
		int len=x.length;
		int a;
		for(int i=0;i<(len/2);i++){
			a=x[i];
			x[i]=x[(len-1)-i];
			x[(len-1)-i]=a;
		}


	}

}