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

A: [ 1.011  0.01  -0.021]
****
Q: [89.622, 139.252, -1.52]

A: [ 0.394  0.612 -0.007]
****
Q: [237.084, -62.452, -56.404, 13.235, 72.181, -48.668, -85.046]

A:
[ 3.39  -0.893 -0.807  0.189  1.032 -0.696 -1.216]
****
