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: [-97.195, 72.11, 249.886, 154.489, -91.851, -38.023, 180.404]

A: [-0.226  0.168  0.581  0.359 -0.214 -0.088  0.42 ]
****
Q: [178.257, 23.788, 103.626, -5.999, 63.934]

A:
[ 0.49   0.065  0.285 -0.016  0.176]
****