#include <iostream>
#include <vector>
int main() {
    int n;
    std::vector<int> v;
    std::cin >> n; //skip
    while (std::cin >> n) {
        v.push_back(n);
    }
    for (auto&& e = v.crbegin(); e != v.crend(); ++e) {
        std::cout << ((e == v.crbegin()) ? "" : " ") << *e;
    }
    std::cout << std::endl;
}


#include<iostream>
using namespace std;

int main(){
  int array[110]={};
  int n;
  cin>>n;
  for(int i=0;i<n;i++){
    cin>>array[i];
  }
  for(int i=n-1;i>=1;i--){
    cout<<array[i]<<" ";
  }
  if(n != 0){
    cout<<array[0]<<endl;
  }
  return 0;
}