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]: [71.922, -17.185, 217.855, 165.79]
[A]: [ 0.164 -0.039  0.497  0.378]


[Q]: [92.88, -62.946, 129.574, 211.304, 205.381]
[A]: [ 0.161 -0.109  0.225  0.367  0.356]


[Q]: [101.966, -33.174, 92.66, 195.417, 63.933, 25.737]
[A]:
[ 0.228 -0.074  0.208  0.438  0.143  0.058]