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]: [-77.184, -0.749, 1.585]
[A]: [ 1.011  0.01  -0.021]


[Q]: [-47.013, -70.337, -65.16]
[A]: [0.258 0.385 0.357]


[Q]: [44.692, -96.245, 121.346, -0.537, 27.487]
[A]:
[ 0.462 -0.995  1.254 -0.006  0.284]