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]: [86.628, 157.229]
[A]: [0.355 0.645]


[Q]: [-69.004, 114.985, 125.824]
[A]: [-0.402  0.669  0.732]


[Q]: [135.02, 192.15, 153.696, 57.442, 247.001]
[A]:
[0.172 0.245 0.196 0.073 0.315]