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]: [-56.159, 4.643, 98.633, -90.527]
[A]: [ 1.294 -0.107 -2.272 2.085]

[Q]: [-29.429, 30.51, 95.182, -26.973]
[A]: [-0.425 0.44 1.374 -0.389]

[Q]: [8.973, 243.821, 126.122, 138.33, 182.149, -92.017, 224.065, -70.854, -97.543]
[A]:
[ 0.014 0.368 0.19 0.209 0.275 -0.139 0.338 -0.107 -0.147]