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]: [107.499, 46.989, 52.923, -98.504, 12.47, 176.268, 89.606, 240.138]
[A]: [ 0.171  0.075  0.084 -0.157  0.02   0.281  0.143  0.383]


[Q]: [21.308, 231.59, 241.191, 130.902, 17.695, -23.559, -91.242, 125.559, 145.341]
[A]: [ 0.027  0.29   0.302  0.164  0.022 -0.029 -0.114  0.157  0.182]


[Q]: [42.109, 109.86, -83.327, 26.912, 144.091, -4.351, 52.963, 168.042, 77.981]
[A]:
[ 0.079  0.206 -0.156  0.05   0.27  -0.008  0.099  0.315  0.146]


