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]: [47.884, -11.914, 94.964, 96.552, -77.393, -99.776, 111.271, 54.028, -14.725, -44.039]
[A]: [ 0.305 -0.076  0.605  0.616 -0.493 -0.636  0.709  0.344 -0.094 -0.281]


[Q]: [-17.732, 204.999]
[A]: [-0.095  1.095]


[Q]: [-98.894, 76.349, -42.101, 244.866, -12.763, 116.554, 204.738, -42.395]
[A]:
[-0.222  0.171 -0.094  0.549 -0.029  0.261  0.459 -0.095]