In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.

[31.336, -29.902]
[ 21.852 -20.852]

[-25.683, 15.071, 111.315, 203.495]
[-0.084  0.05   0.366  0.669]

[84.51, 49.377, 220.821, 213.076, 134.002, 101.432, -64.719, -63.927, 176.88, -21.291]

[ 0.102  0.059  0.266  0.257  0.161  0.122 -0.078 -0.077  0.213 -0.026]