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]: [167.844, 169.192, -81.096]
[A]: [ 0.656  0.661 -0.317]


[Q]: [-34.384, -74.648]
[A]: [0.315 0.685]


[Q]: [-22.4, 173.86, 126.958]
[A]:
[-0.08   0.624  0.456]