import java.util.Scanner;

public class Main{
	 
    public static void main(String[] args) {
        Scanner stdin  = new Scanner(System.in);
        
        int num = Integer.parseInt(stdin.nextLine());
        
        boolean boo = true;
        int[] seq = new int[num];
        if(num <= 100) {
         
        	for(int i = 0;i < num;i++) {
        		seq[i] = stdin.nextInt();
        		if(seq[i] >= 0 && seq[i] <= 1000) {
        			continue;
        		}else {
        			boo = false;
                break;
        		}
        	}
        }
         
        if(boo == true) {
            for(int j = num ;j > 0;j--) {
                if(j != 1) {
                    System.out.print(seq[j - 1]+" ");
                }else {
                    System.out.println(seq[j - 1]);
                }
            }
        }
       stdin.close();  
   }
	 
}
/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