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: [103.175, 172.942, 74.406]

A: [0.294 0.493 0.212]
****
Q: [181.471, 45.999, 168.599, 145.499, -31.919, 171.003, 116.844]

A:
[ 0.228  0.058  0.211  0.182 -0.04   0.214  0.147]
****
