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: [102.172, 110.658, -51.022, 53.999, 83.403]

A: [ 0.341  0.37  -0.171  0.18   0.279]
****
Q: [203.795, 52.478, 152.312, -41.116, 76.704, -56.981, -11.32, 94.977]

A: [ 0.433  0.111  0.323 -0.087  0.163 -0.121 -0.024  0.202]
****
Q: [-61.601, -28.882, 230.99, 216.788, 223.628, 124.158, 29.232]

A:
[-0.084 -0.039  0.315  0.295  0.305  0.169  0.04 ]
****