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.409, 50.863, 158.642, -96.402, 146.763]

A: [-0.44   0.282  0.879 -0.534  0.813]
****
Q: [-56.866, 244.138]

A: [-0.304  1.304]
****
Q: [129.721, 45.612, 218.094, 74.353, 74.56, 177.846, 77.866, -49.92, -95.237, 156.11]

A:
[ 0.16   0.056  0.27   0.092  0.092  0.22   0.096 -0.062 -0.118  0.193]
****