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.241, -80.712, 72.984, -17.184, -51.071, 48.991, -28.162, 122.037, 183.308, 171.99]
[A]: [ 0.333 -0.127  0.115 -0.027 -0.081  0.077 -0.044  0.193  0.289  0.272]


[Q]: [103.65, 117.315, -23.012, 246.39, -11.109, 125.102, -14.743, 97.056]
[A]: [ 0.162  0.183 -0.036  0.385 -0.017  0.195 -0.023  0.151]


[Q]: [172.758, 105.868, 46.605]
[A]:
[0.531 0.326 0.143]