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: [119.841, 171.151, 38.877]

A: [0.363 0.519 0.118]
****
Q: [86.109, 86.13, 146.507, 99.602]

A: [0.206 0.206 0.35  0.238]
****
Q: [173.528, 231.496, -17.462, 10.344, 223.517, 209.38, 220.452, -37.632, -79.505]

A:
[ 0.186  0.248 -0.019  0.011  0.239  0.224  0.236 -0.04  -0.085]
****