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: [187.713, 165.457, 218.44, -71.285, -50.105, 5.022, 118.456]

Output: [ 0.327  0.288  0.381 -0.124 -0.087  0.009  0.206]


Input: Consider Input: [-80.77, -68.56, 180.511, 184.798, -62.277, 12.478, 213.681, 50.928, 147.82]

Output: [-0.14  -0.118  0.312  0.319 -0.108  0.022  0.369  0.088  0.255]


Input: Consider Input: [198.336, -25.094, 149.944, 107.397, 198.793, 101.742, 153.234, 133.68, -25.821, -4.928]


Output: [ 0.201 -0.025  0.152  0.109  0.201  0.103  0.155  0.135 -0.026 -0.005]