import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    }
} Main public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        } catch (IOException e) {
            System.out.println(e);
        } IOException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } int num = Integer.parseInt(br.readLine()); num Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String ary = br.readLine(); ary br.readLine() br.readLine br String[] ar = ary.split(" "); ar ary.split(" ") ary.split ary " " System.out.print(ar[num-1]) System.out.print System.out System System.out ar[num-1] ar num-1 num 1 for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            } int i=num-1; int i=num-1; i num-1 num 1 i>0 i 0 i-- i-- i {
                System.out.print(" " + ar[i-1]);
            } {
                System.out.print(" " + ar[i-1]);
            } System.out.print(" " + ar[i-1]) System.out.print System.out System System.out " " + ar[i-1] " " ar[i-1] ar i-1 i 1 System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    }
} public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            int num = Integer.parseInt(br.readLine());
            String ary = br.readLine();
            String[] ar = ary.split(" ");
            System.out.print(ar[num-1]);
            for (int i=num-1; i>0; i--) {
                System.out.print(" " + ar[i-1]);
            }
            System.out.println("");
        } catch (IOException e) {
            System.out.println(e);
        }
    }
}