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]: [-4.627, 207.365, 17.961, 35.253, 44.741, -32.505]
[A]: [-0.017  0.773  0.067  0.131  0.167 -0.121]


[Q]: [187.126, 154.747]
[A]: [0.547 0.453]


[Q]: [45.483, 176.894, 121.109, 42.847, -47.797, 127.623]
[A]:
[ 0.098  0.379  0.26   0.092 -0.103  0.274]