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: [85.379, 51.027, 245.442, -3.654, -40.663, 166.273]

A: [ 0.169  0.101  0.487 -0.007 -0.081  0.33 ]
****
Q: [159.521, -51.03, -25.88, 79.099, 44.669, 101.603, 132.516, 66.398, -28.973, 70.414]

A: [ 0.291 -0.093 -0.047  0.144  0.081  0.185  0.242  0.121 -0.053  0.128]
****
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]
****