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]: [80.514, 158.578, 178.002, 67.127, 63.817, -7.061, 208.709, 111.012, 145.797, -21.547]
[A]: [ 0.082  0.161  0.181  0.068  0.065 -0.007  0.212  0.113  0.148 -0.022]


[Q]: [127.429, 95.716, 248.623, 78.199, -58.769, 134.098, -23.614]
[A]: [ 0.212  0.159  0.413  0.13  -0.098  0.223 -0.039]


[Q]: [127.45, 235.534, 51.106]
[A]:
[0.308 0.569 0.123]