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]: [-49.451, 199.304, 136.072]
[A]: [-0.173  0.697  0.476]


[Q]: [137.189, 25.635, 143.71]
[A]: [0.448 0.084 0.469]


[Q]: [91.623, -14.37, 64.773, 245.88, 60.601, -13.706, 231.179, -40.931]
[A]:
[ 0.147 -0.023  0.104  0.393  0.097 -0.022  0.37  -0.065]