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: [-19.827, 77.587, 234.377, 197.698, 9.593, -73.61, 243.676]

A: [-0.03   0.116  0.35   0.295  0.014 -0.11   0.364]
****
Q: [-97.195, 72.11, 249.886, 154.489, -91.851, -38.023, 180.404]

A: [-0.226  0.168  0.581  0.359 -0.214 -0.088  0.42 ]
****
Q: [38.197, -91.689, 213.917, 50.952]

A:
[ 0.181 -0.434  1.012  0.241]
****