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