import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	}
} import java.io.File; File java.io import java.io.IOException; IOException java.io import java.util.ArrayDeque; ArrayDeque java.util import java.util.ArrayList; ArrayList java.util import java.util.Deque; Deque java.util import java.util.Scanner; Scanner java.util public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	}
} Main public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	} main {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] a = new int[n]; a new int[n] n for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt(); int i = 0; int i = 0; i 0 i < n i n i++ i++ i a[n-1-i] = sc.nextInt(); a[n-1-i] = sc.nextInt() a[n-1-i] a n-1-i n-1-i n 1 i sc.nextInt() sc.nextInt sc System.out.print(a[0]) System.out.print System.out System System.out a[0] a 0 for(int i = 1; i < n; i++) System.out.print(" " + a[i]); int i = 1; int i = 1; i 1 i < n i n i++ i++ i System.out.print(" " + a[i]); System.out.print(" " + a[i]) System.out.print System.out System System.out " " + a[i] " " a[i] a i System.out.println() System.out.println System.out System System.out String[] args args public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	}
} public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	}
} Main
import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] a = new int[n];
		for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
		System.out.print(a[0]);
		for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
		System.out.println();
	}
}
