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]: [167.844, 169.192, -81.096]
[A]: [ 0.656  0.661 -0.317]


[Q]: [105.342, 133.634, -20.053, 42.678, 212.89, 99.288]
[A]: [ 0.184  0.233 -0.035  0.074  0.371  0.173]


[Q]: [232.125, -96.949, -70.416, 39.284, 134.549, -8.342, 216.782, 189.623, -46.626]
[A]:
[ 0.393 -0.164 -0.119  0.067  0.228 -0.014  0.367  0.321 -0.079]