ll@N,@A[2N];sortA(2N,A);wt(sum[i,0,N](A[N+i]-A[i]));