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]: [-42.256, 243.33, 116.799, 231.776, 218.527, 50.57, 48.628, 228.07, -38.11]
[A]: [-0.04   0.23   0.11   0.219  0.207  0.048  0.046  0.216 -0.036]


[Q]: [19.761, -68.809, 38.9]
[A]: [-1.947  6.781 -3.833]


[Q]: [105.342, 133.634, -20.053, 42.678, 212.89, 99.288]
[A]:
[ 0.184  0.233 -0.035  0.074  0.371  0.173]