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: [190.494, 235.955, 208.0, 4.458, -30.159, 23.947, 24.861, 224.189, 28.074, -11.536]

A: [ 0.212  0.263  0.232  0.005 -0.034  0.027  0.028  0.25   0.031 -0.013]
****
Q: [-79.133, -97.324, 28.129, 138.128, 213.878, -42.159, -44.342, 218.167, 206.665, 115.285]

A: [-0.12  -0.148  0.043  0.21   0.325 -0.064 -0.067  0.332  0.314  0.175]
****
Q: [83.711, 27.304, 7.947, 237.689, -50.457, 129.358, -98.981, -12.105]

A:
[ 0.258  0.084  0.024  0.733 -0.156  0.399 -0.305 -0.037]
****