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]: [148.764, 144.152, -67.79, 196.955, 133.537, 132.805]
[A]: [ 0.216  0.209 -0.098  0.286  0.194  0.193]


[Q]: [-66.573, 115.584]
[A]: [-1.358  2.358]


[Q]: [-9.226, 12.169, -97.083, 186.334]
[A]:
[-0.1    0.132 -1.053  2.021]