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]: [140.733, 40.951, 67.321, 82.612]
[A]: [0.424 0.123 0.203 0.249]


[Q]: [151.338, 243.295, -28.245, -70.378, 78.301]
[A]: [ 0.404  0.65  -0.075 -0.188  0.209]


[Q]: [157.363, -24.084, -29.385, -52.115, 23.56, 84.228, 29.26]
[A]:
[ 0.833 -0.128 -0.156 -0.276  0.125  0.446  0.155]