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.

[-56.645, 164.309, -98.764, 38.132, 180.507]
[-0.249  0.722 -0.434  0.168  0.793]

[56.345, -71.526, 163.534, 45.488, 161.533, 4.674, 190.511, -36.911]
[ 0.11  -0.139  0.318  0.089  0.314  0.009  0.371 -0.072]

[38.656, 229.639, 82.414, 141.551, 48.46]

[0.071 0.425 0.152 0.262 0.09 ]