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]: [238.724, 233.675, 143.563, -44.834, 195.138, 129.475, -64.207]
[A]: [ 0.287  0.281  0.173 -0.054  0.235  0.156 -0.077]


[Q]: [102.894, -36.643, 220.92, -66.805, 60.024, 54.327, 223.62]
[A]: [ 0.184 -0.066  0.396 -0.12   0.108  0.097  0.401]


[Q]: [115.422, -65.165, 14.894, 21.75, 4.191, 41.185, 105.059]
[A]:
[ 0.486 -0.275  0.063  0.092  0.018  0.174  0.443]