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: [157.363, -24.084, -29.385, -52.115, 23.56, 84.228, 29.26]
Output:
[ 0.833 -0.128 -0.156 -0.276  0.125  0.446  0.155]