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: [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: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]

A: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]
****
Q: [100.47, 171.668, 97.381, 179.427, 7.932, 230.11, 80.62, 227.564, -92.989]

A:
[ 0.1    0.171  0.097  0.179  0.008  0.23   0.08   0.227 -0.093]
****