import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;

/**
 * Created by Arifur on 9/8/2015.
 */
public class Main {
    public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collection; Collection java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    }
} Main public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    } main {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    } Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in))); scanner new Scanner(new BufferedReader(new InputStreamReader(System.in))) int x=scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner ArrayList<Integer> list=new ArrayList<Integer>(); list new ArrayList<Integer>() for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        } int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
            list.add(scanner.nextInt());
        } {
            list.add(scanner.nextInt());
        } list.add(scanner.nextInt()) list.add list scanner.nextInt() scanner.nextInt scanner Collections.reverse(list) Collections.reverse Collections list for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        } int i = 0; int i = 0; i 0 i < list.size() i list.size() list.size list i++ i++ i {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        } {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        } System.out.print(list.get(i)) System.out.print System.out System System.out list.get(i) list.get list i if(i<x-1){
                System.out.print(" ");
            } i<x-1 i x-1 x 1 {
                System.out.print(" ");
            } System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] arg arg public class Main {
    public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    }
} public class Main {
    public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;

/**
 * Created by Arifur on 9/8/2015.
 */
public class Main {
    public static void main(String[] arg) {
        Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int x=scanner.nextInt();
        ArrayList<Integer> list=new ArrayList<Integer>();
        for (int i = 0; i < x; i++) {
            list.add(scanner.nextInt());
        }
        Collections.reverse(list);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i));
            if(i<x-1){
                System.out.print(" ");
            }
        }
        System.out.println();

    }
}