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

public class Main {
    public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    }
 
    public static void main(String[] args) throws IOException {
    	new Main().exec();
    }
}
  import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintWriter; PrintWriter java.io public class Main {
    public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    }
 
    public static void main(String[] args) throws IOException {
    	new Main().exec();
    }
} Main public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    } exec {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    } try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	} {
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) PrintWriter out = new PrintWriter(System.out) PrintWriter out = new PrintWriter(System.out) new PrintWriter(System.out) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] s = br.readLine().split(" "); s br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String[] s2 = new String[n]; s2 new String[n] n for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            	s2[i] = s[n-i-1];
            } {
            	s2[i] = s[n-i-1];
            } s2[i] = s[n-i-1] s2[i] s2 i s[n-i-1] s n-i-1 n-i-1 n i 1 out.println(String.join(" ",s2)) out.println out String.join(" ",s2) String.join String " " s2 out.flush() out.flush out public static void main(String[] args) throws IOException {
    	new Main().exec();
    } main {
    	new Main().exec();
    } new Main().exec() new Main().exec new Main() String[] args args public class Main {
    public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    }
 
    public static void main(String[] args) throws IOException {
    	new Main().exec();
    }
} public class Main {
    public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    }
 
    public static void main(String[] args) throws IOException {
    	new Main().exec();
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class Main {
    public void exec() throws IOException {
    	try(
    			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    			PrintWriter out = new PrintWriter(System.out);
    			){
            int n = Integer.parseInt(br.readLine());
            String[] s = br.readLine().split(" ");
            String[] s2 = new String[n];
            for(int i=0; i<n; i++) {
            	s2[i] = s[n-i-1];
            }
            out.println(String.join(" ",s2));
            out.flush();
    	}
    }
 
    public static void main(String[] args) throws IOException {
    	new Main().exec();
    }
}
 