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]: [161.082, 67.844, 17.769, 196.815, 228.033, 21.441]
[A]: [0.232 0.098 0.026 0.284 0.329 0.031]


[Q]: [22.057, -12.637, 136.036, 195.584, 138.818]
[A]: [ 0.046 -0.026  0.283  0.408  0.289]


[Q]: [198.06, 107.009, 205.649, 117.289, 63.53, 18.921, -96.288, 18.479, -75.547]
[A]:
[ 0.356  0.192  0.369  0.211  0.114  0.034 -0.173  0.033 -0.136]