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: [187.713, 165.457, 218.44, -71.285, -50.105, 5.022, 118.456]

Output: [ 0.327  0.288  0.381 -0.124 -0.087  0.009  0.206]


Input: Consider Input: [-61.977, 227.296]

Output: [-0.375  1.375]


Input: Consider Input: [219.696, 113.795, 225.698, 165.323, 210.096, 228.349, 96.714, -54.706, 57.219, 240.651]


Output: [ 0.146  0.076  0.15   0.11   0.14   0.152  0.064 -0.036  0.038  0.16 ]