#include <iostream>
#include <math.h>
using namespace std;
int main() {
int k;
cin >> k;
int t[k];
for(int i=0; i < k; i++ )
{
cin >> t[i];
}
for(int i=0; i < k; i++)
cout << t[k-i-1] << " ";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgazsKCWNpbiA+PiBrOwoJaW50IHRba107Cglmb3IoaW50IGk9MDsgaSA8IGs7IGkrKyApCgl7CgkJY2luID4+IHRbaV07Cgl9Cglmb3IoaW50IGk9MDsgaSA8IGs7IGkrKykKCQljb3V0IDw8IHRbay1pLTFdIDw8ICIgIjsKCXJldHVybiAwOwp9