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]: [153.133, -31.416, 223.372, 35.919, 17.848, 15.937, 197.856, 132.652, -29.473, 209.057]
[A]: [ 0.166 -0.034  0.242  0.039  0.019  0.017  0.214  0.143 -0.032  0.226]


[Q]: [-40.53, 196.995, 18.208, 215.424, 159.69, 91.622, -28.935, 179.428, -87.817, -70.632]
[A]: [-0.064  0.311  0.029  0.34   0.252  0.145 -0.046  0.283 -0.139 -0.112]


[Q]: [152.403, -13.563, 179.829, 196.374]
[A]:
[ 0.296 -0.026  0.349  0.381]