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]: [227.235, -9.802, 224.755, -6.045, 204.082, -82.991]
[A]: [ 0.408 -0.018  0.403 -0.011  0.366 -0.149]


[Q]: [216.424, 156.654, -71.054, 170.474, 47.55, -14.294, -42.849]
[A]: [ 0.468  0.338 -0.153  0.368  0.103 -0.031 -0.093]


[Q]: [99.546, -43.531, 22.839]
[A]:
[ 1.262 -0.552  0.29 ]