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: [228.052, 71.746, 170.452, 158.938, 98.382, -72.209, -88.024]
Output:
[ 0.402  0.126  0.3    0.28   0.173 -0.127 -0.155]