#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main () {

	int n;
	vector<int> values;

	cin >> n;
	cin.ignore();

	for (int i = 1; i <= n; i++){
		string tmp_value;
		
		if(i == n)
			getline(cin, tmp_value);
		else
			getline(cin, tmp_value, ' ');

		values.push_back(stoi(tmp_value));
	}
	
	for (int i = n; i != 0; i--){
		
		if (i == 1)
			cout << values[i - 1] << endl;
		else
			cout << values[i - 1] << ' ';
	}

	return 0;
}



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

