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: [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: [237.768, 173.698, 202.552, 144.075, 116.375]

A: [0.272 0.199 0.232 0.165 0.133]
****
Q: [-69.025, 110.461, 69.84, -77.073, -82.955, -3.817]

A:
[ 1.313 -2.101 -1.329  1.466  1.578  0.073]
****