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]: [234.403, 65.141]
[A]: [0.783 0.217]


[Q]: [70.021, 120.134, 121.829, 163.088, 231.331, -16.9]
[A]: [ 0.102  0.174  0.177  0.237  0.336 -0.025]


[Q]: [62.946, 115.858, 173.725, 186.176, 153.974, -82.599]
[A]:
[ 0.103  0.19   0.285  0.305  0.252 -0.135]


