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]: [-25.876, 126.122, 102.141, 85.91, -27.267, 107.472, 146.719]
[A]: [-0.05   0.245  0.198  0.167 -0.053  0.209  0.285]


[Q]: [140.946, 100.12, 49.913, -24.764, 211.045]
[A]: [ 0.295  0.21   0.105 -0.052  0.442]


[Q]: [-55.426, -57.641, 141.626, -17.119, -80.341]
[A]:
[ 0.804  0.837 -2.055  0.248  1.166]