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: [31.316, 27.757, 72.343, 47.638, -47.048, 158.802, -75.884, -46.528]

[ 0.186  0.165  0.43   0.283 -0.279  0.943 -0.451 -0.276]