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: Consider Input: [-71.628, 49.37, 147.263, 187.318, 67.661, 41.289, 86.789, 88.487]

Output: [-0.12   0.083  0.247  0.314  0.113  0.069  0.145  0.148]


Input: Consider Input: [69.934, -1.771, 167.129, 42.12]

Output: [ 0.252 -0.006  0.602  0.152]


Input: Consider Input: [244.304, 122.773, 29.589, -98.674, 105.754, -93.922, -41.341, 142.293]


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