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: [226.295, 79.294, -3.174, 147.813, 24.129]

A: [ 0.477  0.167 -0.007  0.312  0.051]
****
Q: [-59.6, -31.264, 95.327, 174.603, 240.446, 30.334]

A: [-0.132 -0.069  0.212  0.388  0.535  0.067]
****
Q: [42.935, -62.488, -18.092, -87.344, 83.863, 131.258, 123.567, 21.55, 157.621, 193.672]

A:
[ 0.073 -0.107 -0.031 -0.149  0.143  0.224  0.211  0.037  0.269  0.33 ]
****
