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: [-33.478, -42.164, 31.396]

A: [ 0.757  0.953 -0.71 ]
****
Q: [176.461, 166.123, 189.362, 222.546, -58.929, 52.331, 128.774, 117.151, 146.728, 167.759]

A:
[ 0.135  0.127  0.145  0.17  -0.045  0.04   0.098  0.09   0.112  0.128]
****