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: [245.776, 147.756, 46.081, 137.159, 69.132, -81.718, 135.053, 200.574]

A: [ 0.273  0.164  0.051  0.152  0.077 -0.091  0.15   0.223]
****
Q: [-95.052, 44.855, 168.107, -59.536, 54.077, 225.341]

A: [-0.281  0.133  0.498 -0.176  0.16   0.667]
****
Q: [133.469, 102.68]

A:
[0.565 0.435]
****