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: [49.396, 154.523, 164.785, 67.229]

A: [0.113 0.354 0.378 0.154]
****
Q: [37.054, -56.763, -86.422, 126.884, -64.129, 55.847, 38.388, 242.9, 48.212]

A:
[ 0.108 -0.166 -0.253  0.371 -0.188  0.163  0.112  0.71   0.141]
****
