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]: [109.446, 223.326, 11.341, 82.124, -43.779, -55.208, 53.588, 229.559]
[A]: [ 0.179  0.366  0.019  0.135 -0.072 -0.09   0.088  0.376]


[Q]: [-51.018, 130.578, -54.191, 144.189, -35.312, -28.86, 128.549, 58.665]
[A]: [-0.174  0.446 -0.185  0.493 -0.121 -0.099  0.439  0.2  ]


[Q]: [-21.081, 16.35, 112.6, -96.743]
[A]:
[-1.895  1.47  10.12  -8.695]