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]: [55.207, 201.948, 59.125, -61.663, 87.121, 75.646, 246.794, 112.931, -61.024]
[A]: [ 0.077  0.282  0.083 -0.086  0.122  0.106  0.345  0.158 -0.085]


[Q]: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]
[A]: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


[Q]: [-52.674, -2.42, -94.719, 157.284]
[A]:
[ -7.05   -0.324 -12.678  21.053]