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: [-97.301, 130.939, 7.862, 241.283, -8.481, -45.554, 69.159, 123.499]

A: [-0.231  0.311  0.019  0.573 -0.02  -0.108  0.164  0.293]
****
Q: [109.446, 223.326, 11.341, 82.124, -43.779, -55.208, 53.588, 229.559]

A: [ 0.179  0.366  0.019  0.135 -0.072 -0.09   0.088  0.376]
****
Q: [59.732, 226.253, 74.021, 146.036, 11.937, -75.259, 34.063, 154.798, 26.704, 34.259]

A:
[ 0.086  0.327  0.107  0.211  0.017 -0.109  0.049  0.224  0.039  0.049]
****