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]: [211.849, 12.238]
[A]: [0.945 0.055]


[Q]: [159.521, -51.03, -25.88, 79.099, 44.669, 101.603, 132.516, 66.398, -28.973, 70.414]
[A]: [ 0.291 -0.093 -0.047  0.144  0.081  0.185  0.242  0.121 -0.053  0.128]


[Q]: [151.659, 28.45, 106.564, 228.851, 146.683, 132.664, 223.578]
[A]:
[0.149 0.028 0.105 0.225 0.144 0.13  0.22 ]