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]: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]
[A]: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


[Q]: [16.878, 165.392, 31.447, -82.8, -37.96]
[A]: [ 0.182  1.779  0.338 -0.891 -0.408]


[Q]: [-52.674, -2.42, -94.719, 157.284]
[A]:
[ -7.05   -0.324 -12.678  21.053]


