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: [167.844, 169.192, -81.096]

A: [ 0.656  0.661 -0.317]
****
Q: [227.76, 164.43, -88.862, 46.315, 152.235]

A: [ 0.454  0.328 -0.177  0.092  0.303]
****
Q: [-18.392, -44.676, -18.187, 32.406, 205.78, -10.037, 70.128, 118.209]

A:
[-0.055 -0.133 -0.054  0.097  0.614 -0.03   0.209  0.353]
****