#include <iostream>
using namespace std;
int main() {
int i;
cin >> i;
int vet[i];
for (int t = 0; t < i; t++) cin >> vet[t];
for (int f = i - 1; f >= 0; f--) cout << vet[f] << " ";
}
//https://pt.stackoverflow.com/q/241794/101
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgaTsKICAgIGNpbiA+PiBpOwogICAgaW50IHZldFtpXTsKICAgIGZvciAoaW50IHQgPSAwOyB0IDwgaTsgdCsrKSBjaW4gPj4gdmV0W3RdOwogICAgZm9yIChpbnQgZiA9IGkgLSAxOyBmID49IDA7IGYtLSkgY291dCA8PCB2ZXRbZl0gPDwgIiAiOwp9CgovL2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8yNDE3OTQvMTAx