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]: [-67.471, 156.86, 151.309]
[A]: [-0.28   0.652  0.629]


[Q]: [192.461, 169.947]
[A]: [0.531 0.469]


[Q]: [248.688, 190.201, -9.165]
[A]:
[ 0.579  0.443 -0.021]


