#include #include int n,a[9999],i;main(){scanf("%d",&n);for(i=0;i