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: [-22.771, 214.763, -40.308, 84.107]

A: [-0.097  0.911 -0.171  0.357]
****
Q: [211.241, -80.712, 72.984, -17.184, -51.071, 48.991, -28.162, 122.037, 183.308, 171.99]

A: [ 0.333 -0.127  0.115 -0.027 -0.081  0.077 -0.044  0.193  0.289  0.272]
****
Q: [89.177, 68.904, 157.179, 225.911, -32.91, -45.111, -26.222, 96.783, 239.992, -70.221]

A:
[ 0.127  0.098  0.223  0.321 -0.047 -0.064 -0.037  0.138  0.341 -0.1  ]
****