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]: [-80.349, 82.276, 64.394, 193.251, 33.096, -83.859, 232.251, 107.428, 110.972]
[A]: [-0.122  0.125  0.098  0.293  0.05  -0.127  0.352  0.163  0.168]


[Q]: [17.011, 227.693, 182.857]
[A]: [0.04  0.533 0.428]


[Q]: [38.706, 192.532, -17.302, 197.156, 99.814, -34.044]
[A]:
[ 0.081  0.404 -0.036  0.413  0.209 -0.071]