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: [162.868, 109.38, -79.491, 191.325, 43.996, 163.118, 14.367, 219.224, -51.994, -81.541]

A: [ 0.236  0.158 -0.115  0.277  0.064  0.236  0.021  0.317 -0.075 -0.118]
****
Q: [244.796, 114.914, 219.444, 212.415, 77.819, 26.29]

A:
[0.273 0.128 0.245 0.237 0.087 0.029]
****