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]: [121.665, 129.058, -26.583, 156.198]
[A]: [ 0.32   0.339 -0.07   0.411]


[Q]: [119.841, 171.151, 38.877]
[A]: [0.363 0.519 0.118]


[Q]: [-10.838, -42.42, 21.352, 50.721, 243.573, -37.858]
[A]:
[-0.048 -0.189  0.095  0.226  1.085 -0.169]