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]: [119.841, 171.151, 38.877]
[A]: [0.363 0.519 0.118]


[Q]: [208.455, 36.274, -57.269, 146.623, 53.426, 236.427, 219.745]
[A]: [ 0.247  0.043 -0.068  0.174  0.063  0.28   0.26 ]


[Q]: [-61.468, 200.131, 237.483, 78.826, 241.751]
[A]:
[-0.088  0.287  0.341  0.113  0.347]