import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    } main {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) StringBuilder build = new StringBuilder(); build new StringBuilder() int n = input.nextInt(); n input.nextInt() input.nextInt input int[] ar = new int[n]; ar new int[n] n for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            ar[i] = input.nextInt();
        } {
            ar[i] = input.nextInt();
        } ar[i] = input.nextInt() ar[i] ar i input.nextInt() input.nextInt input for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        } int i = ar.length-1; int i = ar.length-1; i ar.length-1 ar.length ar ar.length 1 i >= 0 i 0 i-- i-- i {
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        } {
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        } build.append(ar[i]) build.append build ar[i] ar i if(i==0){
                break;
            } i==0 i 0 {
                break;
            } break; build.append(" ") build.append build " " System.out.println(build) System.out.println System.out System System.out build String[] args args public class Main {

    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    }
} public class Main {

    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        StringBuilder build = new StringBuilder();
        int n = input.nextInt();
        int[] ar = new int[n];
        for(int i = 0; i < n; i++){
            ar[i] = input.nextInt();
        }
        for(int i = ar.length-1; i >= 0; i--){
            build.append(ar[i]);
            if(i==0){
                break;
            }
            build.append(" ");
        }
        System.out.println(build);
    }
}