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: [-59.828, 30.296, 154.848, 160.154, -97.69]

Output: [-0.319  0.161  0.825  0.853 -0.52 ]


Input: Consider Input: [195.848, 166.539, 226.032, 150.247, 108.638, 62.37, 181.928, 246.972]

Output: [0.146 0.124 0.169 0.112 0.081 0.047 0.136 0.185]


Input: Consider Input: [-76.686, -87.016, 141.598, 82.41, 207.629]


Output: [-0.286 -0.325  0.528  0.308  0.775]