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]: [-17.732, 204.999]
[A]: [-0.095  1.095]


[Q]: [19.598, 133.602, -62.335, 207.057, 16.32]
[A]: [ 0.062  0.425 -0.198  0.659  0.052]


[Q]: [-51.326, 226.83, 238.813, -94.74, -12.44, 179.79, 186.889, 21.475, -2.481]
[A]:
[-0.074  0.327  0.345 -0.137 -0.018  0.26   0.27   0.031 -0.004]