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: [187.041, -23.586, 120.017, 248.279, 21.301, 111.981, 23.197, 142.531, -83.136]

[ 0.25  -0.032  0.161  0.332  0.028  0.15   0.031  0.191 -0.111]