
import java.util.Scanner;
public class Main{
public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
}
} import java.util.Scanner; Scanner java.util public class Main{
public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
}
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
} main {
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan String a = scan.nextLine(); a scan.nextLine() scan.nextLine scan String line = scan.nextLine(); line scan.nextLine() scan.nextLine scan String[] array = line.split(" "); array line.split(" ") line.split line " " for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    } int i = array.length-1; int i = array.length-1; i array.length-1 array.length array array.length 1 i>=0 i 0 i-- i-- i {
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    } {
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    } if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        } i!=0 i 0 {
            System.out.print(array[i]+" ");
        } System.out.print(array[i]+" ") System.out.print System.out System System.out array[i]+" " array[i] array i " " {
            System.out.print(array[i]);
        } System.out.print(array[i]) System.out.print System.out System System.out array[i] array i System.out.println() System.out.println System.out System System.out String[] args args public class Main{
public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
}
} public class Main{
public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
}
} Main

import java.util.Scanner;
public class Main{
public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    String a = scan.nextLine();
    String line = scan.nextLine();
    String[] array = line.split(" ");
    for(int i = array.length-1;i>=0;i--){
        if(i!=0){
            System.out.print(array[i]+" ");
        }else{
            System.out.print(array[i]);
        }
    }
    System.out.println();
}
}
