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: [216.999, 240.569, -73.015, -47.331, 238.855, 126.661, 3.663, 77.942]

[ 0.277  0.307 -0.093 -0.06   0.305  0.161  0.005  0.099]