A minimum problem for finite sets of real numbers with non-negative sum