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]: [187.044, 178.021, 103.289, 82.24]
[A]: [0.34  0.323 0.188 0.149]


[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]: [-9.845, 176.296, 218.582, -8.565, 193.251, -88.535, 234.737, 217.826, 195.603]
[A]:
[-0.009  0.156  0.194 -0.008  0.171 -0.078  0.208  0.193  0.173]


