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: [24.101, 159.95, -98.312, -54.904, 160.352]

Output: [ 0.126  0.837 -0.514 -0.287  0.839]


Input: Consider Input: [10.938, 220.639, 214.911, -31.69, -21.077, 183.226, -41.396, -47.465]

Output: [ 0.022  0.452  0.44  -0.065 -0.043  0.375 -0.085 -0.097]


Input: Consider Input: [59.248, 120.807, 173.889, 34.176]


Output: [0.153 0.311 0.448 0.088]


