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]: [29.334, 195.025, -78.012, 170.41, -66.323]
[A]: [ 0.117  0.779 -0.312  0.68  -0.265]


[Q]: [-68.148, 34.193, 6.195, 30.525, -20.859]
[A]: [ 3.766 -1.89  -0.342 -1.687  1.153]


[Q]: [-4.953, 151.609, 176.304, 221.443]
[A]:
[-0.009  0.278  0.324  0.407]