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: [189.03, -5.087, 112.373, 75.947]

A: [ 0.508 -0.014  0.302  0.204]
****
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: [231.701, 93.887, 0.334, 98.274]

A:
[0.546 0.221 0.001 0.232]
****