ll@n,@m,@t,b[n]{}; rep(m){ ll@a--; b[a]++; } ll s=0,r=2d5; while(s+1>1; ll v=0; rep[b](x,n){ if(x