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]: [216.899, 45.022, -41.518, -74.703, 211.092, 222.948, 141.612]
[A]: [ 0.301  0.062 -0.058 -0.104  0.293  0.309  0.196]


[Q]: [27.425, 165.583, 82.748, 74.086, 181.22, 39.498]
[A]: [0.048 0.29  0.145 0.13  0.318 0.069]


[Q]: [-60.292, -63.439, 23.522, 54.547, -60.404, -96.074, 241.932, 231.83, -78.992, 130.071]
[A]:
[-0.187 -0.197  0.073  0.169 -0.187 -0.298  0.75   0.718 -0.245  0.403]