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: [138.421, 125.821, 245.105, 164.342, 28.3, 37.102]

Output: [0.187 0.17  0.332 0.222 0.038 0.05 ]


Input: Consider Input: [-62.082, -53.778, -6.73, 191.001]

Output: [-0.907 -0.786 -0.098  2.792]


Input: Consider Input: [218.904, -4.122, -74.874, 182.25, 181.831, -53.335, 52.635, 116.172]


Output: [ 0.353 -0.007 -0.121  0.294  0.294 -0.086  0.085  0.188]