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: [-9.158, -77.424, 43.222, 112.626, 131.415, -28.206, 164.204]

A: [-0.027 -0.23   0.128  0.335  0.39  -0.084  0.488]
****
Q: [62.889, 106.297]

A: [0.372 0.628]
****
Q: [-71.132, 105.021, 187.869, 186.196, 79.916, 140.699, -23.535, 83.557, -25.901, -58.718]

A:
[-0.118  0.174  0.311  0.308  0.132  0.233 -0.039  0.138 -0.043 -0.097]
****