text: #include <bits/stdc++.h>
  using namespace std;
  
  int main(){
      int n, arr[1005];
      cin >> n;
  
      for(int i=0; i < n; i++)
          cin >> arr[i];
      
      for(int i = n-1; i >= 0; i--){
          cout << arr[i];
          cout << ((i == 0) ? "\n" : " "); 
      }  
  
      return 0;
  }