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: [43.938, 83.985, -7.291]

A: [ 0.364  0.696 -0.06 ]
****
Q: [67.37, 174.935]

A:
[0.278 0.722]
****
