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: [187.126, 154.747]

A: [0.547 0.453]
****
Q: [8.889, 145.908, 76.545, 230.962]

A: [0.019 0.316 0.166 0.5  ]
****
Q: [246.834, 196.237, 97.472, -68.381, -50.838, 38.338, 210.738, 15.22, 185.463, -49.902]

A:
[ 0.301  0.239  0.119 -0.083 -0.062  0.047  0.257  0.019  0.226 -0.061]
****