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: [-77.184, -0.749, 1.585]

A: [ 1.011  0.01  -0.021]
****
Q: [50.005, 193.047, -50.47, -43.94, 161.01, 90.782, -19.188, 80.538, 149.252, 43.731]

A:
[ 0.076  0.295 -0.077 -0.067  0.246  0.139 -0.029  0.123  0.228  0.067]
****