import java.util.Scanner;
class Main {
	int[] ai = new int [100];
	int n = 0,w,j = 1,h,i;
	public void nu () {
		Scanner sc = new Scanner(System.in);
		n = sc.nextInt();
		if(n >= 0 || n <= 100) {
			for(w = 0; w < n; w++) {
				ai[w] = sc.nextInt();
			}
			for(w = n-1; w > 0; w--) {
				System.out.printf("%d ",ai[w]);
			}
			System.out.println(ai[0]);
		}
	}
	public static void main(String[] args) {
		new Main().nu();
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz