import java.util.Scanner;
class Main{
    int n,x;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        int a[] = new int [n];
        for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        }
        for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        }
    }
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.Scanner; Scanner java.util class Main{
    int n,x;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        int a[] = new int [n];
        for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        }
        for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        }
    }
    public static void main(String[] args){
        new Main().solve();
    }
} Main int n n x; x public void solve(){
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        int a[] = new int [n];
        for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        }
        for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        }
    } solve {
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        int a[] = new int [n];
        for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        }
        for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) n = sc.nextInt() n sc.nextInt() sc.nextInt sc int a[] = new int [n]; a new int [n] n for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        } x = 0; x = 0 x 0 x < n x n x++ x++ x {
            a[x] = sc.nextInt();
        } {
            a[x] = sc.nextInt();
        } a[x] = sc.nextInt() a[x] a x sc.nextInt() sc.nextInt sc for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        } x = n-1; x = n-1 x n-1 n 1 x >= 0 x 0 x-- x-- x {
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        } {
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        } if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            } x != 0 x 0 {
                System.out.printf("%d ",a[x]);
            } System.out.printf("%d ",a[x]) System.out.printf System.out System System.out "%d " a[x] a x {
                System.out.printf("%d\n",a[x]);
            } System.out.printf("%d\n",a[x]) System.out.printf System.out System System.out "%d\n" a[x] a x public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;
class Main{
    int n,x;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        int a[] = new int [n];
        for(x = 0; x < n; x++){
            a[x] = sc.nextInt();
        }
        for(x = n-1;x >= 0; x--){
            if(x != 0){
                System.out.printf("%d ",a[x]);
            }else{
                System.out.printf("%d\n",a[x]);
            }
        }
    }
    public static void main(String[] args){
        new Main().solve();
    }
}