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]: [227.76, 164.43, -88.862, 46.315, 152.235]
[A]: [ 0.454  0.328 -0.177  0.092  0.303]


[Q]: [62.979, -45.05]
[A]: [ 3.513 -2.513]


[Q]: [205.737, -17.652, 36.684, -98.107, -91.19, 141.025, 243.282, -56.151, 209.877]
[A]:
[ 0.359 -0.031  0.064 -0.171 -0.159  0.246  0.424 -0.098  0.366]