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: [105.021, 198.628, 60.009, 230.057, 195.413, -98.091, 190.059, 188.651]

A: [ 0.098  0.186  0.056  0.215  0.183 -0.092  0.178  0.176]
****
Q: [83.196, 26.981, 122.935, 3.854, -44.188]

A: [ 0.432  0.14   0.638  0.02  -0.229]
****
Q: [19.761, -68.809, 38.9]

A:
[-1.947  6.781 -3.833]
****