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]: [0.737, -13.324, 17.682, 37.746, 139.164]
[A]: [ 0.004 -0.073  0.097  0.207  0.765]


[Q]: [211.849, 12.238]
[A]: [0.945 0.055]


[Q]: [-40.24, -82.796, -92.913, 73.843, 137.793]
[A]:
[  9.33   19.197  21.543 -17.121 -31.948]