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: [105.021, 198.628, 60.009, 230.057, 195.413, -98.091, 190.059, 188.651]

A: [ 0.098  0.186  0.056  0.215  0.183 -0.092  0.178  0.176]
****
Q: [62.889, 106.297]

A: [0.372 0.628]
****
Q: [144.47, -86.799, 208.386, 155.895, 141.532, 242.941, 6.276, 118.716, -80.917]

A:
[ 0.17  -0.102  0.245  0.183  0.166  0.286  0.007  0.14  -0.095]
****
