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: [239.945, 42.333]

A: [0.85 0.15]
****
Q: [98.484, 190.025, -78.608]

A: [ 0.469  0.905 -0.375]
****
Q: [107.645, 157.57, 85.883, 143.794, 39.046, 35.387, 46.716, -98.521]

A:
[ 0.208  0.304  0.166  0.278  0.075  0.068  0.09  -0.19 ]
****