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: [71.224, 248.241, 139.206]

A: [0.155 0.541 0.303]
****
Q: [39.296, 94.606, 158.151]

A:
[0.135 0.324 0.542]
****