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: [-19.19, 16.875, 89.701, 183.842, 177.318, 143.688, 248.552, 198.75]

Output: [-0.018  0.016  0.086  0.177  0.171  0.138  0.239  0.191]


Input: Consider Input: [19.598, 133.602, -62.335, 207.057, 16.32]

Output: [ 0.062  0.425 -0.198  0.659  0.052]


Input: Consider Input: [186.792, -73.561, 101.114, -16.033, -27.26, 55.14, 119.865, -96.388]


Output: [ 0.748 -0.295  0.405 -0.064 -0.109  0.221  0.48  -0.386]