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]: [-49.451, 199.304, 136.072]
[A]: [-0.173  0.697  0.476]


[Q]: [123.275, 156.341, 242.486]
[A]: [0.236 0.299 0.464]


[Q]: [-33.272, 87.782, 243.896, 199.457]
[A]:
[-0.067  0.176  0.49   0.401]