ll@N,@X,@A[N];wt(max(0,sum(A(N))-X));