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: [31.336, -29.902]

A: [ 21.852 -20.852]
****
Q: [90.572, 11.457, 110.696, 27.412]

A:
[0.377 0.048 0.461 0.114]
****