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]: [239.205, 152.573, -5.614]
[A]: [ 0.619  0.395 -0.015]


[Q]: [72.87, 66.776, -70.901]
[A]: [ 1.06   0.971 -1.031]


[Q]: [151.894, -49.277, 117.245, -53.534, 142.446, 119.847]
[A]:
[ 0.354 -0.115  0.274 -0.125  0.332  0.28 ]