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: [-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: [79.05, 173.918, 212.156, 97.371, 128.236, 100.43, -7.858, 170.527]

A: [ 0.083  0.182  0.222  0.102  0.134  0.105 -0.008  0.179]
****
Q: [99.76, 104.432, 153.344, -61.041, -62.668, 172.526, 186.755, 245.428]

A:
[ 0.119  0.125  0.183 -0.073 -0.075  0.206  0.223  0.293]
****