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: [-99.405, 166.036, 167.552, -23.626, 247.539, 11.298]

A: [-0.212  0.354  0.357 -0.05   0.527  0.024]
****
Q: [138.371, 30.093]

A: [0.821 0.179]
****
Q: [108.822, 100.973, 207.158, -32.318, 129.565, 7.974, 237.152, 192.882, 40.95, -51.881]

A:
[ 0.116  0.107  0.22  -0.034  0.138  0.008  0.252  0.205  0.044 -0.055]
****