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: [156.505, 137.881, -73.82, 26.338, -26.232, -28.183, 78.806]

Output: [ 0.577  0.508 -0.272  0.097 -0.097 -0.104  0.29 ]


Input: Consider Input: [-59.6, -31.264, 95.327, 174.603, 240.446, 30.334]

Output: [-0.132 -0.069  0.212  0.388  0.535  0.067]


Input: Consider Input: [15.93, -71.461]


Output: [-0.287  1.287]