#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int arr[n];
for(int i=0; i<n; i++) cin >> arr[i];
for(int u=n-1; u>-1; u--) cout << arr[u] << " ";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbjsKCWNpbiA+PiBuOwoJaW50IGFycltuXTsKCWZvcihpbnQgaT0wOyBpPG47IGkrKykgY2luID4+IGFycltpXTsKCWZvcihpbnQgdT1uLTE7IHU+LTE7IHUtLSkgY291dCA8PCBhcnJbdV0gPDwgIiAiOwoJcmV0dXJuIDA7Cn0=