#include <iostream>
#include <vector>

using namespace std;

int main()
{
	int n;
	cin >> n;

	typedef vector<int> IntVector;
	IntVector a(n, 0);

	for (int i = 0; i < n; ++i)
		cin >> skipws >> a[i];

	IntVector::const_reverse_iterator ritEnd = a.rend();
	for (IntVector::const_reverse_iterator rit = a.rbegin(); rit != ritEnd; ++rit)
	{
		cout << *rit;
		if (rit == ritEnd - 1)
			cout << endl;
		else
			cout << " ";
	}

	return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main(){
    
    int n;
    int a[100];
    
    cin>>n;
    
    for(int i=0; i<n; i++) cin>>a[i];
    
    
    for( int i=0; i< n-1-i; i++) swap(a[i],a[n-1-i]);
    
    
    for( int i=0; i<n; i++){
        if(i) cout<<" ";
        cout<<a[i];
    }
    
    cout<<endl;
    
    return 0;
}

