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]: [237.315, -96.742, 179.222, 23.324, 86.395, 201.237]
[A]: [ 0.376 -0.153  0.284  0.037  0.137  0.319]


[Q]: [-9.711, 45.209]
[A]: [-0.274  1.274]


[Q]: [-39.898, -60.195, -41.994, 150.246, 142.529, 116.752, -78.473, 81.114, 237.057, -93.554]
[A]:
[-0.096 -0.146 -0.102  0.363  0.345  0.282 -0.19   0.196  0.573 -0.226]


