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: [-29.429, 30.51, 95.182, -26.973]

A: [-0.425  0.44   1.374 -0.389]
****
Q: [117.426, -84.716]

A: [ 3.59 -2.59]
****
Q: [-0.53, -24.397, -11.925, 71.994, 174.534, 111.103, 78.929, -78.361]

A:
[-0.002 -0.076 -0.037  0.224  0.543  0.346  0.246 -0.244]
****
