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: [100.985, 21.265]

A: [0.826 0.174]
****
Q: [-0.773, 2.892, -24.257, 64.627, 62.235]

A:
[-0.007  0.028 -0.232  0.617  0.594]
****