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: [35.122, 190.831, 108.597, 177.979, 89.736, -21.437, 87.852, -79.999]

A: [ 0.06   0.324  0.184  0.302  0.152 -0.036  0.149 -0.136]
****
Q: [241.151, -67.168, 161.913, 68.409, -5.213, 66.258, 70.05, 38.39, 30.598]

A: [ 0.399 -0.111  0.268  0.113 -0.009  0.11   0.116  0.064  0.051]
****
Q: [240.437, 163.089]

A:
[0.596 0.404]
****