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]: [80.294, -88.584]
[A]: [-9.686 10.686]


[Q]: [167.844, 169.192, -81.096]
[A]: [ 0.656  0.661 -0.317]


[Q]: [221.155, 245.614, 248.801, 170.592, -74.836, -64.113]
[A]:
[ 0.296  0.329  0.333  0.228 -0.1   -0.086]


