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: [-97.195, 72.11, 249.886, 154.489, -91.851, -38.023, 180.404]

Output: [-0.226  0.168  0.581  0.359 -0.214 -0.088  0.42 ]


Input: Consider Input: [142.576, -28.093, 114.526]

Output: [ 0.623 -0.123  0.5  ]


Input: Consider Input: [-67.134, -68.461, 151.068, 66.78, -9.793, -17.881, 194.578]


Output: [-0.269 -0.275  0.606  0.268 -0.039 -0.072  0.781]