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]: [113.902, 34.506, -40.153, -89.472, 14.588, -37.564, 92.517, -81.109]
[A]: [ 15.787   4.783  -5.565 -12.401   2.022  -5.206  12.823 -11.242]


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


[Q]: [89.516, 55.522, 31.249]
[A]:
[0.508 0.315 0.177]