#include using namespace std; const int MAXN=10000; int main() { int a[MAXN]; int i,n; cin>>n; for(i=0; i>a[i]; for(i=n-1; i>=0; i--) cout<