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: [142.628, 130.49, 44.67, 63.541, 146.634, -45.234, 195.316, -40.328, 55.21, -91.676]

A: [ 0.237  0.217  0.074  0.106  0.244 -0.075  0.325 -0.067  0.092 -0.152]
****
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: [85.91, 97.301, 151.763, -59.454, 102.086]

A:
[ 0.228  0.258  0.402 -0.157  0.27 ]
****