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]: [172.451, 66.811, -25.587, -96.948, 177.665, 213.007, -68.927]
[A]: [ 0.393  0.152 -0.058 -0.221  0.405  0.486 -0.157]


[Q]: [-90.478, 206.887]
[A]: [-0.777  1.777]


[Q]: [55.072, -45.482, 51.205, 52.134, 172.549, 176.987, 50.988, 179.219]
[A]:
[ 0.08  -0.066  0.074  0.075  0.249  0.256  0.074  0.259]