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]: [89.727, 144.375, 206.242, 212.658, -21.804, 0.394, 139.851]
[A]: [ 0.116  0.187  0.267  0.276 -0.028  0.001  0.181]


[Q]: [222.47, 240.651, 3.5, -20.351, 249.944, 55.201, 41.763, -68.155]
[A]: [ 0.307  0.332  0.005 -0.028  0.345  0.076  0.058 -0.094]


[Q]: [188.397, -19.504, 116.636, -87.404, 123.552, 247.04]
[A]:
[ 0.331 -0.034  0.205 -0.154  0.217  0.434]


