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]: [-36.797, 93.739, 170.894, 193.582, 128.83, 85.681, 104.071, -40.571, -84.657]
[A]: [-0.06   0.152  0.278  0.315  0.21   0.139  0.169 -0.066 -0.138]


[Q]: [-92.205, 192.192, -42.978]
[A]: [-1.617  3.371 -0.754]


[Q]: [31.895, -71.562, 35.302, 66.526, -16.991, 147.945, 130.514]
[A]:
[ 0.099 -0.221  0.109  0.206 -0.053  0.457  0.403]