import java.util.*;

public class Main {
    static Scanner scanner;
    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    }
} import java.util.*; util.* java public class Main {
    static Scanner scanner;
    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    }
} Main static Scanner scanner; scanner public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    } main {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    } scanner = new Scanner(System.in) scanner new Scanner(System.in) int[] arr = new int[scanner.nextInt()]; arr new int[scanner.nextInt()] scanner.nextInt() scanner.nextInt scanner for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        } int i = 0; int i = 0; i 0 i < arr.length i arr.length arr arr.length ++i ++i i {
            arr[i] = scanner.nextInt();
        } {
            arr[i] = scanner.nextInt();
        } arr[i] = scanner.nextInt() arr[i] arr i scanner.nextInt() scanner.nextInt scanner for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        } int i = arr.length - 1; int i = arr.length - 1; i arr.length - 1 arr.length arr arr.length 1 i >= 0 i 0 --i --i i {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        } {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        } System.out.print(arr[i] + (i != 0 ? " " : "")) System.out.print System.out System System.out arr[i] + (i != 0 ? " " : "") arr[i] arr i (i != 0 ? " " : "") i != 0 i 0 " " "" System.out.println() System.out.println System.out System System.out String[] args args public class Main {
    static Scanner scanner;
    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    }
} public class Main {
    static Scanner scanner;
    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    }
} Main
import java.util.*;

public class Main {
    static Scanner scanner;
    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        
        int[] arr = new int[scanner.nextInt()];
        
        for(int i = 0; i < arr.length; ++i) {
            arr[i] = scanner.nextInt();
        }
        
        for(int i = arr.length - 1; i >= 0; --i) {
            System.out.print(arr[i] + (i != 0 ? " " : ""));
        }
        System.out.println();
    }
}
