{ll@N,@X;wt(sum[i,0,N](rd_ll())-X*~-N);}