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]: [204.719, -84.204, -1.215, 164.923, 43.828, 143.634, -47.883]
[A]: [ 0.483 -0.199 -0.003  0.389  0.103  0.339 -0.113]


[Q]: [140.652, 95.04]
[A]: [0.597 0.403]


[Q]: [171.926, 67.78, 52.992, 243.844, 71.494, -40.871, 237.547, -91.23]
[A]:
[ 0.241  0.095  0.074  0.342  0.1   -0.057  0.333 -0.128]


