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: [30.106, 3.584, 123.701, 135.111, 40.174, -7.633, 120.336, 9.879]
Output:
[ 0.066  0.008  0.272  0.297  0.088 -0.017  0.264  0.022]