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

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    }

} Main public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    } main {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    } boolean first=true; first true try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        } {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String line; line String[] x; x while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            } (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            } String[] str=br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " x=new String[str.length] x new String[str.length] str.length str str.length for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	} int i=x.length-1; int i=x.length-1; i x.length-1 x.length x x.length 1 i>=0 i 0 i-- i-- i {
            		x[i]=str[x.length-1-i];
            	} {
            		x[i]=str[x.length-1-i];
            	} x[i]=str[x.length-1-i] x[i] x i str[x.length-1-i] str x.length-1-i x.length-1-i x.length x x.length 1 i System.out.println(String.join(" ",x)) System.out.println System.out System System.out String.join(" ",x) String.join String " " x break; String[] args args public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    }

} public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    }

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

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            String[] x;
            while ((line = br.readLine()) != null) {
            	String[] str=br.readLine().split(" ");
            	
            	x=new String[str.length];

            	for(int i=x.length-1;i>=0;i--){
            		x[i]=str[x.length-1-i];
            	}
            	System.out.println(String.join(" ",x));
            	break;
            }
        }
    }

}