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: [10.415, 115.448, 48.253, -29.927, -99.808, 100.066, 210.071, 233.739, 247.704]

A: [ 0.012  0.138  0.058 -0.036 -0.119  0.12   0.251  0.28   0.296]
****
Q: [70.336, 162.511, -68.24, 247.453, 135.862]

A: [ 0.128  0.297 -0.125  0.452  0.248]
****
Q: [82.025, 63.887, 41.403, 195.187, 69.473, 76.739, 54.998, 81.477]

A:
[0.123 0.096 0.062 0.293 0.104 0.115 0.083 0.122]
****