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]: [189.03, -5.087, 112.373, 75.947]
[A]: [ 0.508 -0.014  0.302  0.204]


[Q]: [122.209, -22.703, -71.113, 52.059]
[A]: [ 1.519 -0.282 -0.884  0.647]


[Q]: [-52.585, 115.722]
[A]:
[-0.833  1.833]