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]: [-47.013, -70.337, -65.16]
[A]: [0.258 0.385 0.357]


[Q]: [121.665, 129.058, -26.583, 156.198]
[A]: [ 0.32   0.339 -0.07   0.411]


[Q]: [76.874, 134.221, 230.461, -83.532, -72.283]
[A]:
[ 0.269  0.47   0.807 -0.292 -0.253]