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]: [187.713, 165.457, 218.44, -71.285, -50.105, 5.022, 118.456]
[A]: [ 0.327 0.288 0.381 -0.124 -0.087 0.009 0.206]

[Q]: [-50.824, -89.524]
[A]:
[0.362 0.638]