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: [-19.19, 16.875, 89.701, 183.842, 177.318, 143.688, 248.552, 198.75]

Output: [-0.018  0.016  0.086  0.177  0.171  0.138  0.239  0.191]


Input: Consider Input: [-79.68, -74.99, -50.058, 40.041, 249.062, 30.0, 97.145, 50.395]

Output: [-0.304 -0.286 -0.191  0.153  0.951  0.115  0.371  0.192]


Input: Consider Input: [-95.929, 152.78, 84.654, 47.936, 219.886, -99.776]


Output: [-0.31   0.494  0.273  0.155  0.71  -0.322]