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]: [227.235, -9.802, 224.755, -6.045, 204.082, -82.991]
[A]: [ 0.408 -0.018  0.403 -0.011  0.366 -0.149]


[Q]: [66.834, -79.731, 186.589, 244.536, 67.199, -23.636, 185.161, -36.427, -23.896]
[A]:
[ 0.114 -0.136  0.318  0.417  0.115 -0.04   0.316 -0.062 -0.041]