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]: [56.345, -71.526, 163.534, 45.488, 161.533, 4.674, 190.511, -36.911]
[A]: [ 0.11  -0.139  0.318  0.089  0.314  0.009  0.371 -0.072]


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


[Q]: [3.004, 219.215, 17.225, 229.386]
[A]:
[0.006 0.468 0.037 0.489]