#include <iostream> using namespace std; int main() { int n; cin >> n; int a[n]; int i=0; while (i < n) { cin >> a[i]; i++; } int x = n-1; while (x >= 0) { cout << a[x] <<" "; x--; } return 0; }