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: [21.308, 231.59, 241.191, 130.902, 17.695, -23.559, -91.242, 125.559, 145.341]

A: [ 0.027  0.29   0.302  0.164  0.022 -0.029 -0.114  0.157  0.182]
****
Q: [125.35, -10.076]

A: [ 1.087 -0.087]
****
Q: [163.137, -39.457, 24.389, 69.124, -36.741, 86.479, 82.047, -76.954]

A:
[ 0.6   -0.145  0.09   0.254 -0.135  0.318  0.302 -0.283]
****