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]: [137.189, 25.635, 143.71]
[A]: [0.448 0.084 0.469]


[Q]: [140.652, 95.04]
[A]: [0.597 0.403]


[Q]: [-26.63, 37.414, 136.822, 6.611, 163.693, 131.746, 28.724, 226.488, 54.281]
[A]:
[-0.035  0.049  0.18   0.009  0.216  0.174  0.038  0.298  0.072]


