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: [-80.77, -68.56, 180.511, 184.798, -62.277, 12.478, 213.681, 50.928, 147.82]

A: [-0.14  -0.118  0.312  0.319 -0.108  0.022  0.369  0.088  0.255]
****
Q: [133.781, 157.723, 158.61, -61.075, 12.936]

A: [ 0.333  0.392  0.395 -0.152  0.032]
****
Q: [152.163, -28.241, 102.509, 120.061, -92.002, 95.949]

A:
[ 0.434 -0.081  0.293  0.343 -0.263  0.274]
****