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: [154.425, -73.361, 115.754, -35.03, 209.745, 85.344, 15.442, -60.364, 228.365]

A: [ 0.241 -0.115  0.181 -0.055  0.328  0.133  0.024 -0.094  0.357]
****
Q: [-9.657, 62.292, -6.59, -62.327, 87.926, 153.093, 31.518, 127.692, 129.156, 81.808]

A: [-0.016  0.105 -0.011 -0.105  0.148  0.257  0.053  0.215  0.217  0.138]
****
Q: [7.327, 178.416]

A:
[0.039 0.961]
****