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: [96.015, 37.466, -40.719, 98.276, -87.995, 189.755, 126.983]

A: [ 0.229  0.089 -0.097  0.234 -0.21   0.452  0.302]
****
Q: [224.19, -13.723, 196.624, 0.943, -21.431, -24.617, 129.254, 77.367]

A: [ 0.394 -0.024  0.346  0.002 -0.038 -0.043  0.227  0.136]
****
Q: [68.409, -97.094]

A:
[-2.385  3.385]
****