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: [240.691, -46.027]

A: [ 1.236 -0.236]
****
Q: [108.846, -19.959, -96.488, 89.424, 146.35, 68.236]

A: [ 0.367 -0.067 -0.326  0.302  0.494  0.23 ]
****
Q: [146.044, -75.1, -68.176, -77.249, 143.356, 29.192, 243.975, 86.547, 15.936]

A:
[ 0.329 -0.169 -0.153 -0.174  0.322  0.066  0.549  0.195  0.036]
****