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]: [44.692, -96.245, 121.346, -0.537, 27.487]
[A]: [ 0.462 -0.995  1.254 -0.006  0.284]


[Q]: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]
[A]: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


[Q]: [0.958, 117.78, -94.803, 171.345, 133.167, 8.529, 108.532, 25.652, 35.468]
[A]:
[ 0.002  0.232 -0.187  0.338  0.263  0.017  0.214  0.051  0.07 ]