#include #include #include #include int L,N; void bubble(int* b){ int i,j,temp; for(i=N-1;i>0;i--){ for(j=0;jb[j+1]){ temp=b[j]; b[j]=b[j+1]; b[j+1]=temp; } } } int main(void){ int i=0,temp=0,temp1=0; scanf("%d %d",&L,&N); int b[N]; for(;iL){ temp1--; break; } } printf("%d\n",temp1); return 0; }