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.044, 178.021, 103.289, 82.24]

Output: [0.34  0.323 0.188 0.149]


Input: Consider Input: [55.241, 162.66, 158.823, 140.558, 71.473, -48.092]

Output: [ 0.102  0.301  0.294  0.26   0.132 -0.089]


Input: Consider Input: [241.141, 129.077, 78.875, 98.652, -12.88, 164.339, 61.277, 85.776]


Output: [ 0.285  0.153  0.093  0.117 -0.015  0.194  0.072  0.101]