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]: [19.162, -0.568, 242.814]
[A]: [ 0.073 -0.002  0.929]


[Q]: [125.35, -10.076]
[A]: [ 1.087 -0.087]


[Q]: [183.824, -63.661, -38.388, 39.892, 124.911, 188.919, -85.853]
[A]:
[ 0.526 -0.182 -0.11   0.114  0.357  0.54  -0.246]