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: [240.647, -76.879, 4.765, 113.914, 158.844, 227.806]

[ 0.36  -0.115  0.007  0.17   0.237  0.34 ]