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: [80.514, 158.578, 178.002, 67.127, 63.817, -7.061, 208.709, 111.012, 145.797, -21.547]

A: [ 0.082  0.161  0.181  0.068  0.065 -0.007  0.212  0.113  0.148 -0.022]
****
Q: [58.965, -33.63, 77.122, 61.321, 0.978, 103.637, 108.641]

A: [ 0.156 -0.089  0.205  0.163  0.003  0.275  0.288]
****
Q: [-95.605, -96.107, 163.017, -19.17, 87.991, -94.379]

A:
[ 1.762  1.771 -3.005  0.353 -1.622  1.74 ]
****