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: [0.737, -13.324, 17.682, 37.746, 139.164]

A: [ 0.004 -0.073  0.097  0.207  0.765]
****
Q: [-4.622, 65.41, 210.536, 110.663, -14.498, 84.392, -28.141, 137.941]

A: [-0.008  0.116  0.375  0.197 -0.026  0.15  -0.05   0.246]
****
Q: [63.693, 191.968, 11.034, 198.037, 39.868, 92.004]

A:
[0.107 0.322 0.018 0.332 0.067 0.154]
****
