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]: [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]: [-71.628, 49.37, 147.263, 187.318, 67.661, 41.289, 86.789, 88.487]
[A]: [-0.12   0.083  0.247  0.314  0.113  0.069  0.145  0.148]


[Q]: [58.12, 66.579, -0.323, 65.009, 160.645, 213.736, -17.067]
[A]:
[ 0.106  0.122 -0.001  0.119  0.294  0.391 -0.031]