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: [-40.53, 196.995, 18.208, 215.424, 159.69, 91.622, -28.935, 179.428, -87.817, -70.632]

A: [-0.064  0.311  0.029  0.34   0.252  0.145 -0.046  0.283 -0.139 -0.112]
****
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: [-91.379, 225.972, 180.051, 200.225, 159.052, -76.887]

A:
[-0.153  0.378  0.302  0.335  0.266 -0.129]
****