How this will work for nagative numbers

[-2,-2,1,1,-3,1,-3,-3,-4,-2]
ans=-4

@S19CRXPP0099 are you aware of the 2’s complement storage format for negative numbers?