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]: [-79.133, -97.324, 28.129, 138.128, 213.878, -42.159, -44.342, 218.167, 206.665, 115.285]
[A]: [-0.12  -0.148  0.043  0.21   0.325 -0.064 -0.067  0.332  0.314  0.175]


[Q]: [-56.866, 244.138]
[A]: [-0.304  1.304]


[Q]: [37.291, -23.533]
[A]:
[ 2.71 -1.71]