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]: [-43.08, 109.525, -61.654, 5.718, 152.702, -86.576, 13.451, -70.716]
[A]: [-2.224  5.654 -3.183  0.295  7.883 -4.47   0.694 -3.651]


[Q]: [56.491, -29.468, -4.249, 125.895]
[A]: [ 0.38  -0.198 -0.029  0.847]


[Q]: [-22.932, -96.453, 181.539, 140.385, 240.548, -72.864]
[A]:
[-0.062 -0.261  0.49   0.379  0.65  -0.197]