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: [186.157, -1.676, 182.268, 42.313, 118.436, 31.797, -57.753, -77.34]

[ 0.439 -0.004  0.43   0.1    0.279  0.075 -0.136 -0.182]