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: [115.196, 31.125, 47.593, 163.151, 145.774, -21.014, 201.409, 77.798, 50.188]

Output: [ 0.142  0.038  0.059  0.201  0.18  -0.026  0.248  0.096  0.062]


Input: Consider Input: [-43.629, 123.469, -79.775, 197.631]

Output: [-0.221  0.625 -0.404  1.   ]


Input: Consider Input: [76.069, 85.622, 226.36, -49.665, 146.708, 153.063, 147.723]


Output: [ 0.097  0.109  0.288 -0.063  0.187  0.195  0.188]