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]: [-87.594, -70.604, -92.72, 96.148, -58.743]
[A]: [ 0.41   0.331  0.434 -0.45   0.275]


[Q]: [240.691, -46.027]
[A]: [ 1.236 -0.236]


[Q]: [42.229, 243.797, 12.146, 94.513, -15.549, -15.492, 37.692, 4.448, 144.002]
[A]:
[ 0.077  0.445  0.022  0.173 -0.028 -0.028  0.069  0.008  0.263]