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]: [222.47, 240.651, 3.5, -20.351, 249.944, 55.201, 41.763, -68.155]
[A]: [ 0.307  0.332  0.005 -0.028  0.345  0.076  0.058 -0.094]


[Q]: [192.471, 219.475, -88.784, 40.457, 133.906, 158.601, 188.243, 187.846, -63.093, 157.521]
[A]: [ 0.171  0.195 -0.079  0.036  0.119  0.141  0.167  0.167 -0.056  0.14 ]


[Q]: [217.261, -33.301, -40.84, 177.45, 59.916, 48.042]
[A]:
[ 0.507 -0.078 -0.095  0.414  0.14   0.112]