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]: [45.867, 132.612, 127.363, 218.495]
[A]: [0.087 0.253 0.243 0.417]


[Q]: [24.403, -86.561, -38.209, 193.393]
[A]: [ 0.262 -0.931 -0.411  2.079]


[Q]: [-98.756, -73.968, -86.083, 131.55, 111.001, 80.372, 221.386, 6.957]
[A]:
[-0.338 -0.253 -0.294  0.45   0.38   0.275  0.757  0.024]


