ll@a,@b; sortE(a,b); wt(min[i,0,a+1](abs(a+b-i*4)));