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]: [56.012, -96.02, 100.719, 181.201, 82.523]
[A]: [ 0.173 -0.296  0.31   0.559  0.254]


[Q]: [52.712, 231.411, 178.973, 4.152]
[A]: [0.113 0.495 0.383 0.009]


[Q]: [126.507, -37.14, 209.073, 192.238]
[A]:
[ 0.258 -0.076  0.426  0.392]