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: [77.862, -18.58, 57.983, 80.802, -63.26, 112.149, 96.094, 92.081, 67.864, -98.77]
Output:
[ 0.193 -0.046  0.143  0.2   -0.156  0.277  0.238  0.228  0.168 -0.244]