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]: [157.917, 14.403]
[A]: [0.916 0.084]


[Q]: [105.163, -74.682, 77.054, -40.58, -57.303, 115.182]
[A]:
[ 0.842 -0.598  0.617 -0.325 -0.459  0.923]


