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]: [115.196, 31.125, 47.593, 163.151, 145.774, -21.014, 201.409, 77.798, 50.188]
[A]: [ 0.142  0.038  0.059  0.201  0.18  -0.026  0.248  0.096  0.062]


[Q]: [189.03, -5.087, 112.373, 75.947]
[A]: [ 0.508 -0.014  0.302  0.204]


[Q]: [130.641, -96.758, 43.056]
[A]:
[ 1.698 -1.258  0.56 ]