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]: [-40.122, 44.533, 8.372, 33.654, 111.584, 31.907]
[A]: [-0.211  0.234  0.044  0.177  0.588  0.168]


[Q]: [72.096, 90.887, 223.457, 44.778]
[A]: [0.167 0.211 0.518 0.104]


[Q]: [192.471, 219.475, -88.784, 40.457, 133.906, 158.601, 188.243, 187.846, -63.093, 157.521]
[A]:
[ 0.171  0.195 -0.079  0.036  0.119  0.141  0.167  0.167 -0.056  0.14 ]