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: [244.304, 122.773, 29.589, -98.674, 105.754, -93.922, -41.341, 142.293]

[ 0.595  0.299  0.072 -0.24   0.257 -0.229 -0.101  0.346]