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]: [70.099, 87.813, -46.725, 151.763, 104.987, 31.398, 245.818, 158.108, 193.713, 142.36]
[A]: [ 0.062  0.077 -0.041  0.133  0.092  0.028  0.216  0.139  0.17   0.125]


[Q]: [157.917, 14.403]
[A]: [0.916 0.084]


[Q]: [-6.322, 85.998, 200.861, 109.731]
[A]:
[-0.016  0.22   0.515  0.281]


