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]: [104.665, -60.395, 189.505, 184.789, -43.477]
[A]: [ 0.279 -0.161  0.505  0.493 -0.116]


[Q]: [15.359, 95.315]
[A]: [0.139 0.861]


[Q]: [149.841, 14.294]
[A]:
[0.913 0.087]


