#include using namespace std; int main() { int n; cin>>n; int a[300000]={0},b[n]; for(int i=0;i>b[i]; for(int i=0;il) { l=a[i]; k=i; }} cout<