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.

[-49.451, 199.304, 136.072]
[-0.173  0.697  0.476]

[120.942, 67.409, 213.717, -25.366]
[ 0.321  0.179  0.567 -0.067]

[8.064, 227.161, 67.004, 145.503, 131.199, 88.484, 36.012, -27.429]

[ 0.012  0.336  0.099  0.215  0.194  0.131  0.053 -0.041]