#include <iostream>
using namespace std;
const int MAX_SIZE = 100000;
int main() {
int n, v[MAX_SIZE];
cin >> n;
for (int i = 0; i < n; ++i) {
cin >> v[i];
}
for (int i = 0; i < n / 2; ++i) {
const int aux = v[i];
v[i] = v[n - 1 - i];
v[n - 1 - i] = aux;
}
for (int i = 0; i < n; ++i) {
cout << v[i] << " ";;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IE1BWF9TSVpFID0gMTAwMDAwOwoKaW50IG1haW4oKSB7CiAgICBpbnQgbiwgdltNQVhfU0laRV07CiAgICBjaW4gPj4gbjsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgKytpKSB7CiAgICAgICAgY2luID4+IHZbaV07CiAgICB9CiAgICBmb3IgKGludCBpID0gMDsgaSA8IG4gLyAyOyArK2kpIHsKICAgICAgICBjb25zdCBpbnQgYXV4ID0gdltpXTsKICAgICAgICB2W2ldID0gdltuIC0gMSAtIGldOwogICAgICAgIHZbbiAtIDEgLSBpXSA9IGF1eDsKICAgIH0KICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgKytpKSB7CiAgICAgICAgY291dCA8PCB2W2ldIDw8ICIgIjs7CiAgICB9CiAgICByZXR1cm4gMDsKfQ==