Q: 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.
[-0.563, -14.181, 158.172, 37.826, -99.474, 92.233, 78.049, 160.741, -43.34, 215.465]
A:
[-0.001 -0.024  0.27   0.065 -0.17   0.158  0.133  0.275 -0.074  0.368]