import java.util.Scanner;

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

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int d[] = new int[n];
        for(int i=0;i<n;i++) {
            d[i] = in.nextInt();
        }
        for(int i=n-1;i>=0;i--) {
            if(i == 0) {
                System.out.println(d[i]);
            } else {
                System.out.print(d[i] + " ");
            }
        }
    }
}