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: [154.425, -73.361, 115.754, -35.03, 209.745, 85.344, 15.442, -60.364, 228.365]

A: [ 0.241 -0.115  0.181 -0.055  0.328  0.133  0.024 -0.094  0.357]
****
Q: [56.491, -29.468, -4.249, 125.895]

A: [ 0.38  -0.198 -0.029  0.847]
****
Q: [185.737, 49.011, 132.673, -42.559, 228.448, -91.935, 201.079, -23.631, 176.357]

A:
[ 0.228  0.06   0.163 -0.052  0.28  -0.113  0.247 -0.029  0.216]
****