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: [156.505, 137.881, -73.82, 26.338, -26.232, -28.183, 78.806]

A: [ 0.577  0.508 -0.272  0.097 -0.097 -0.104  0.29 ]
****
Q: [108.846, -19.959, -96.488, 89.424, 146.35, 68.236]

A: [ 0.367 -0.067 -0.326  0.302  0.494  0.23 ]
****
Q: [-90.603, 72.428, -31.873, 36.723, 42.593, 217.432, 33.462, 92.36, 117.6]

A:
[-0.185  0.148 -0.065  0.075  0.087  0.444  0.068  0.188  0.24 ]
****