ll@(X,Y,K,P),N=X+Y-K,D=N/2+1;wt((Y