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]: [-13.352, 193.564, -94.168]
[A]: [-0.155  2.25  -1.094]


[Q]: [197.529, 231.433, -76.427, 131.877, 144.985, -86.421, -67.924]
[A]: [ 0.416  0.487 -0.161  0.278  0.305 -0.182 -0.143]


[Q]: [195.152, 50.507, -14.598, 214.968, -82.375, 114.898, 24.085, 233.744]
[A]:
[ 0.265  0.069 -0.02   0.292 -0.112  0.156  0.033  0.317]