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]: [-58.385, 83.001, 50.645, -13.698, 189.178, 192.049]
[A]: [-0.132  0.187  0.114 -0.031  0.427  0.434]


[Q]: [-47.013, -70.337, -65.16]
[A]: [0.258 0.385 0.357]


[Q]: [2.402, -10.093, 90.127]
[A]:
[ 0.029 -0.122  1.093]