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: [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: [44.066, -73.195, 157.102, 223.256, 82.612, 245.137, 228.036]

A: [ 0.049 -0.081  0.173  0.246  0.091  0.27   0.251]
****
Q: [75.463, -69.375, -55.563, -42.944, 239.18, 80.157, 122.933, 201.986, 121.501]

A:
[ 0.112 -0.103 -0.083 -0.064  0.355  0.119  0.183  0.3    0.18 ]
****