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: [-51.018, 130.578, -54.191, 144.189, -35.312, -28.86, 128.549, 58.665]

Output: [-0.174  0.446 -0.185  0.493 -0.121 -0.099  0.439  0.2  ]


Input: Consider Input: [-47.013, -70.337, -65.16]

Output: [0.258 0.385 0.357]


Input: Consider Input: [179.751, 230.589, -35.091]


Output: [ 0.479  0.614 -0.094]