#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

int main() {
    int n, x;
    
    vector<int> a;
    
    cin >> n;
    
    for(int i = 0; i < n; i++) {
        cin >> x;
        a.push_back(x);
    }
    
    reverse(a.begin(), a.end());
    
    for(int i = 0; i < n; i++) {
        if(i == n-1) cout << a[i] << endl;
        else cout << a[i] << " ";
    }
    
    
}
#include<stdio.h>
int main(void)
{
	int a[101],s,i,d;
	scanf("%d",&s);
	for(i=1;i<=s;i++){
		scanf("%d",&a[i]);
	}
	d=1;
	for(i=s;i>=1;i--){
		d++;
		printf("%d",a[i]);
		if(d<=s){
			printf(" ");
		}
	}
	printf("\n");
	return 0;
}