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: [40.043, -4.469, 157.988, -30.369, 122.585, 126.321, 3.83, -82.704]
Output:
[ 0.12  -0.013  0.474 -0.091  0.368  0.379  0.011 -0.248]