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]: [101.286, 117.279, 249.605, -54.23, 190.036]
[A]: [ 0.168  0.194  0.413 -0.09   0.315]


[Q]: [-56.866, 244.138]
[A]: [-0.304  1.304]


[Q]: [223.737, 116.022, 99.044, 159.446, 100.172]
[A]:
[0.32  0.166 0.142 0.228 0.143]