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]: [3.047, 155.678, 94.781, -73.491, -33.037, -39.522, 72.956]
[A]: [ 0.017  0.863  0.525 -0.407 -0.183 -0.219  0.404]


[Q]: [64.567, 55.151, 182.067, 108.858, 198.527, 244.815, 73.48, -89.087, -37.579]
[A]: [ 0.081  0.069  0.227  0.136  0.248  0.306  0.092 -0.111 -0.047]


[Q]: [189.484, 63.513, 224.774, 47.548, 159.463, 180.058, -58.71]
[A]:
[ 0.235  0.079  0.279  0.059  0.198  0.223 -0.073]