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: [166.025, 235.078, 2.082, -93.916, -96.865, 81.476, 212.551, 140.357]

Output: [ 0.257  0.363  0.003 -0.145 -0.15   0.126  0.329  0.217]


Input: Consider Input: [-89.49, 249.56, 48.075, 221.189, 0.896, 46.342]

Output: [-0.188  0.524  0.101  0.464  0.002  0.097]


Input: Consider Input: [-30.936, -15.724, 209.602, 4.226, 198.108, 120.423, 87.733, -78.769, -81.955, -34.985]


Output: [-0.082 -0.042  0.555  0.011  0.524  0.319  0.232 -0.209 -0.217 -0.093]