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]: [31.336, -29.902]
[A]: [ 21.852 -20.852]


[Q]: [189.03, -5.087, 112.373, 75.947]
[A]: [ 0.508 -0.014  0.302  0.204]


[Q]: [109.675, 36.428, 28.21, 140.65, 61.099, 148.682, 226.247, 162.323, -69.727, 219.721]
[A]:
[ 0.103  0.034  0.027  0.132  0.057  0.14   0.213  0.153 -0.066  0.207]