Instructions: 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.
Input: [-40.094, -85.665, -50.21, 61.403, 116.884, 155.777, -24.759, 78.352, 108.073, 140.613]
Output:
[-0.087 -0.186 -0.109  0.133  0.254  0.338 -0.054  0.17   0.235  0.305]