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]: [126.963, 112.815, 244.389, 41.881, 177.709, -51.075, -61.567, 72.359, 28.338, -82.293]
[A]: [ 0.208  0.185  0.401  0.069  0.292 -0.084 -0.101  0.119  0.046 -0.135]


[Q]: [96.684, 11.401, 151.126, -65.202, 110.672]
[A]: [ 0.317  0.037  0.496 -0.214  0.363]


[Q]: [157.276, 9.49, -68.681, 119.267, -91.678, 185.766, -6.971, -84.105, 48.386, -31.459]
[A]:
[ 0.663  0.04  -0.289  0.503 -0.386  0.783 -0.029 -0.354  0.204 -0.133]