#include using namespace std; int xs[100003]; int main() { int n; scanf("%d",&n); for(int i=0;i1;i--){ if(xs[i]