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]: [-42.256, 243.33, 116.799, 231.776, 218.527, 50.57, 48.628, 228.07, -38.11]
[A]: [-0.04   0.23   0.11   0.219  0.207  0.048  0.046  0.216 -0.036]


[Q]: [80.294, -88.584]
[A]: [-9.686 10.686]


[Q]: [-50.542, 131.619, 191.439, -10.282]
[A]:
[-0.193  0.502  0.73  -0.039]