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: [35.122, 190.831, 108.597, 177.979, 89.736, -21.437, 87.852, -79.999]

Output: [ 0.06   0.324  0.184  0.302  0.152 -0.036  0.149 -0.136]


Input: Consider Input: [71.922, -17.185, 217.855, 165.79]

Output: [ 0.164 -0.039  0.497  0.378]


Input: Consider Input: [130.215, 47.846]


Output: [0.731 0.269]