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]: [242.437, -57.364, 78.471, -62.089, 29.583, 63.253, 215.798, -91.923, -89.937, 19.808]
[A]: [ 0.697 -0.165  0.225 -0.178  0.085  0.182  0.62  -0.264 -0.258  0.057]


[Q]: [-78.083, 47.943, -80.073]
[A]: [ 0.708 -0.435  0.727]


[Q]: [89.436, 135.596]
[A]:
[0.397 0.603]