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]: [-95.052, 44.855, 168.107, -59.536, 54.077, 225.341]
[A]: [-0.281  0.133  0.498 -0.176  0.16   0.667]


[Q]: [173.836, 203.808, 146.954]
[A]: [0.331 0.389 0.28 ]


[Q]: [214.962, 126.836, -92.255, 36.07, 72.687, 118.993]
[A]:
[ 0.45   0.266 -0.193  0.076  0.152  0.249]