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: [17.011, 227.693, 182.857]

A: [0.04  0.533 0.428]
****
Q: [237.315, -96.742, 179.222, 23.324, 86.395, 201.237]

A: [ 0.376 -0.153  0.284  0.037  0.137  0.319]
****
Q: [170.274, 33.499, -15.023, 100.712, 41.471]

A:
[ 0.515  0.101 -0.045  0.304  0.125]
****