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.
--------
Question: [143.387, 196.521, -97.02, 170.676, 198.728, 61.586, -58.101]

Answer: [ 0.233  0.319 -0.158  0.277  0.323  0.1   -0.094]


Question: [89.622, 139.252, -1.52]

Answer: [ 0.394  0.612 -0.007]


Question: [109.446, 223.326, 11.341, 82.124, -43.779, -55.208, 53.588, 229.559]

Answer:
[ 0.179  0.366  0.019  0.135 -0.072 -0.09   0.088  0.376]