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]: [190.494, 235.955, 208.0, 4.458, -30.159, 23.947, 24.861, 224.189, 28.074, -11.536]
[A]: [ 0.212  0.263  0.232  0.005 -0.034  0.027  0.028  0.25   0.031 -0.013]


[Q]: [112.742, 102.138]
[A]: [0.525 0.475]


[Q]: [-12.378, 249.844, 210.65, 24.667, -12.071, 21.737, 113.015]
[A]:
[-0.021  0.42   0.354  0.041 -0.02   0.037  0.19 ]