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]: [226.341, 48.673, 137.819]
[A]: [0.548 0.118 0.334]


[Q]: [-73.329, -76.52]
[A]: [0.489 0.511]


[Q]: [-41.119, -87.192, 214.351, 54.431, 143.765, 214.128, 72.791]
[A]:
[-0.072 -0.153  0.375  0.095  0.252  0.375  0.127]