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: [-79.68, -74.99, -50.058, 40.041, 249.062, 30.0, 97.145, 50.395]

A: [-0.304 -0.286 -0.191  0.153  0.951  0.115  0.371  0.192]
****
Q: [-16.728, 90.649, 120.224, -20.241, -6.558]

A: [-0.1    0.542  0.718 -0.121 -0.039]
****
Q: [134.335, -49.172, -56.535, 166.391, 54.734, 197.981]

A:
[ 0.3   -0.11  -0.126  0.372  0.122  0.442]
****