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: [-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: [113.291, 207.259, -25.189, 237.902, 246.469, 195.691, -10.298, 203.132]

Output: [ 0.097  0.177 -0.022  0.204  0.211  0.168 -0.009  0.174]


Input: Consider Input: [23.7, 213.136, 73.529, 8.798]


Output: [0.074 0.668 0.23  0.028]