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]: [166.025, 235.078, 2.082, -93.916, -96.865, 81.476, 212.551, 140.357]
[A]: [ 0.257  0.363  0.003 -0.145 -0.15   0.126  0.329  0.217]


[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]: [8.825, 63.051, 48.619, 93.575, 56.745, -32.719, -22.193, 112.838]
[A]:
[ 0.027  0.192  0.148  0.285  0.173 -0.1   -0.068  0.343]