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: [227.76, 164.43, -88.862, 46.315, 152.235]

A: [ 0.454  0.328 -0.177  0.092  0.303]
****
Q: [27.425, 165.583, 82.748, 74.086, 181.22, 39.498]

A: [0.048 0.29  0.145 0.13  0.318 0.069]
****
Q: [-95.697, -64.702, 146.745, 9.213, 37.808, -87.232, 157.043, 66.822]

A:
[-0.563 -0.381  0.863  0.054  0.222 -0.513  0.924  0.393]
****