import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    }
} import java.util.Scanner; Scanner java.util public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    } main {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int index = Integer.parseInt(sc.nextLine()); index Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String[] str = sc.nextLine().split(" "); str sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        } int loopcnt = str.length; int loopcnt = str.length; loopcnt str.length str str.length loopcnt > 0 loopcnt 0 loopcnt-- loopcnt-- loopcnt {
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        } {
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        } if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]); loopcnt != 1 loopcnt 1 System.out.print(str[loopcnt-1] + " ") System.out.print System.out System System.out str[loopcnt-1] + " " str[loopcnt-1] str loopcnt-1 loopcnt 1 " " System.out.print(str[loopcnt-1]) System.out.print System.out System System.out str[loopcnt-1] str loopcnt-1 loopcnt 1 System.out.println() System.out.println System.out System System.out String[] args args public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    }
} public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    }
} Main
import java.util.Scanner;
 
public class Main {
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int index = Integer.parseInt(sc.nextLine());
        String[] str = sc.nextLine().split(" ");
 
        for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
            if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
            else System.out.print(str[loopcnt-1]);
        }
        System.out.println();
    }
}