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: [122.209, -22.703, -71.113, 52.059]

A: [ 1.519 -0.282 -0.884  0.647]
****
Q: [-70.985, 182.917, -66.258, 224.981, 97.287]

A:
[-0.193  0.497 -0.18   0.611  0.264]
****