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]: [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]


[Q]: [35.983, 105.2, 194.615]
[A]: [0.107 0.313 0.58 ]


[Q]: [220.782, -40.434, 66.368, -43.265]
[A]:
[ 1.085 -0.199  0.326 -0.213]