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: [8.687, 163.182, 206.537, 157.224, 163.054, 180.44]

Output: [0.01  0.186 0.235 0.179 0.185 0.205]


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

Output: [ 0.623 -0.123  0.5  ]


Input: Consider Input: [220.762, 22.097, 108.568, 37.531, 61.314, 197.806, -37.077, 135.574]


Output: [ 0.296  0.03   0.145  0.05   0.082  0.265 -0.05   0.182]