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]: [169.605, 162.483, 223.258, -46.101, 0.499, -49.31, 10.067, 195.258]
[A]: [ 0.255  0.244  0.335 -0.069  0.001 -0.074  0.015  0.293]


[Q]: [234.403, 65.141]
[A]: [0.783 0.217]


[Q]: [195.433, 108.904]
[A]:
[0.642 0.358]