text: #include <iostream>
  int main (void){
      int n;
      std::cin >> n;
      int nums[n];
      for (int i = 0; i < n; i++){
          std::cin >> nums[i];
      }
      for (int i = n - 1; i > -1; i--){
          std::cout << nums[i] << " ";
      }
      return 0;
  }