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]: [-22.771, 214.763, -40.308, 84.107]
[A]: [-0.097  0.911 -0.171  0.357]


[Q]: [35.86, 120.41, 85.231, 227.303, -17.824, 231.766]
[A]:
[ 0.053  0.176  0.125  0.333 -0.026  0.339]