include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
const int N=1e5+3;
int a[N]={0},b[N]={0};
int m,n,l,r;
void daben(){
int i,j=0;
for(i=l;i<=r;i,j)
b[j]=a[i];
sort(b,b+j);
for(i=0;i[HTML_REMOVED]>n>>l>>r;
for(i=0;i[HTML_REMOVED]>a[i];
daben();
return 0;
}