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

Output: [-0.319  0.161  0.825  0.853 -0.52 ]


Input: Consider Input: [-92.409, 197.376, -18.983, -9.264, 211.538, 148.107, 239.009, 131.872]


Output: [-0.114  0.245 -0.024 -0.011  0.262  0.183  0.296  0.163]