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: [158.151, 247.626, 8.044, 118.82, 96.148, -43.926, -70.331, 30.436, 105.946]

Output: [ 0.243  0.38   0.012  0.183  0.148 -0.067 -0.108  0.047  0.163]


Input: Consider Input: [211.241, -80.712, 72.984, -17.184, -51.071, 48.991, -28.162, 122.037, 183.308, 171.99]

Output: [ 0.333 -0.127  0.115 -0.027 -0.081  0.077 -0.044  0.193  0.289  0.272]


Input: Consider Input: [166.309, 200.48, 235.654, 120.665, 237.43, 50.36, 170.537]


Output: [0.141 0.17  0.199 0.102 0.201 0.043 0.144]