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: [228.711, 65.409, 196.92, -77.355, 201.953, 116.793, -69.059, 234.881]

A: [ 0.255  0.073  0.219 -0.086  0.225  0.13  -0.077  0.261]
****
Q: [179.714, 127.831, 44.737, -60.55]

A: [ 0.616  0.438  0.153 -0.208]
****
Q: [-61.583, 66.0, -17.539, -53.094, 191.513, 182.035, -14.553, 47.674, 104.272]

A:
[-0.138  0.148 -0.039 -0.119  0.431  0.409 -0.033  0.107  0.234]
****