Definition: 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: [24.306, -75.0, 240.923, 139.503, -22.436, 12.723, 96.934, 2.571, 190.722, 7.962]
Output:
[ 0.039 -0.121  0.39   0.226 -0.036  0.021  0.157  0.004  0.309  0.013]