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

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    }
} import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int num = Integer.parseInt(br.readLine()); num Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] input = br.readLine().split(" " , num); input br.readLine().split(" " , num) br.readLine().split br.readLine() br.readLine br " " num StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        } int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
            sb.append(input[num-1-i] + " ");
        } {
            sb.append(input[num-1-i] + " ");
        } sb.append(input[num-1-i] + " ") sb.append sb input[num-1-i] + " " input[num-1-i] input num-1-i num-1-i num 1 i " " System.out.println(sb.toString().substring(0 , sb.toString().length()-1)) System.out.println System.out System System.out sb.toString().substring(0 , sb.toString().length()-1) sb.toString().substring sb.toString() sb.toString sb 0 sb.toString().length()-1 sb.toString().length() sb.toString().length sb.toString() sb.toString sb 1 String[] args args public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    }
} public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    }
} Main
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int num = Integer.parseInt(br.readLine());

        String[] input = br.readLine().split(" " , num);
        StringBuilder sb = new StringBuilder();

        for(int i = 0; i < num; i++){
            sb.append(input[num-1-i] + " ");
        }

        System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
    }
}