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]: [65.927, 181.193, 79.392, 150.48, 217.791, -11.842]
[A]: [ 0.097  0.265  0.116  0.22   0.319 -0.017]


[Q]: [61.731, 217.063, -80.856, -74.674, 247.394]
[A]:
[ 0.167  0.586 -0.218 -0.201  0.667]