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