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.

[158.151, 247.626, 8.044, 118.82, 96.148, -43.926, -70.331, 30.436, 105.946]
[ 0.243  0.38   0.012  0.183  0.148 -0.067 -0.108  0.047  0.163]

[164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]
[ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]

[-45.172, -5.21, 44.914, -81.487, -90.463, -87.471]

[ 0.171  0.02  -0.17   0.308  0.342  0.33 ]

