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: [37.56, 31.057, 59.096, -46.118, 99.306, 103.058, -66.785, 166.311]

A: [ 0.098  0.081  0.154 -0.12   0.259  0.269 -0.174  0.434]
****
Q: [116.5, 164.064, -75.34, -59.637, 248.341, -47.273, 214.963, 188.896, 159.124, -5.386]

A: [ 0.129  0.181 -0.083 -0.066  0.275 -0.052  0.238  0.209  0.176 -0.006]
****
Q: [-62.394, 68.88, 19.053, -60.128, 157.52, 44.729, 94.95, 151.295]

A:
[-0.151  0.166  0.046 -0.145  0.381  0.108  0.229  0.366]
****
