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: [238.024, 107.617, 107.276, 116.586, -41.297, 151.139, 54.131, 236.604, -79.031]

[ 0.267  0.121  0.12   0.131 -0.046  0.17   0.061  0.266 -0.089]