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]: [29.334, 195.025, -78.012, 170.41, -66.323]
[A]: [ 0.117  0.779 -0.312  0.68  -0.265]


[Q]: [114.493, -28.45, 46.956, 207.172, 144.141, 28.258, 97.817]
[A]: [ 0.188 -0.047  0.077  0.339  0.236  0.046  0.16 ]


[Q]: [158.151, 247.626, 8.044, 118.82, 96.148, -43.926, -70.331, 30.436, 105.946]
[A]:
[ 0.243  0.38   0.012  0.183  0.148 -0.067 -0.108  0.047  0.163]