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]: [246.183, 41.271, 148.968]
[A]: [0.564 0.095 0.341]


[Q]: [53.483, 69.57, 167.109, 43.064, -73.27]
[A]: [ 0.206  0.268  0.643  0.166 -0.282]


[Q]: [15.377, -41.542, 28.327, 79.3, 215.072]
[A]:
[ 0.052 -0.14   0.096  0.267  0.725]