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.

Q: [41.651, 32.877, 0.294, -10.28]

A: [ 0.645  0.509  0.005 -0.159]
****
Q: [154.425, -73.361, 115.754, -35.03, 209.745, 85.344, 15.442, -60.364, 228.365]

A: [ 0.241 -0.115  0.181 -0.055  0.328  0.133  0.024 -0.094  0.357]
****
Q: [-32.706, -54.014, 169.208, 158.447, -23.717, 25.771, 87.307, 116.197]

A:
[-0.073 -0.121  0.379  0.355 -0.053  0.058  0.196  0.26 ]
****