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: [227.76, 164.43, -88.862, 46.315, 152.235]

Output: [ 0.454  0.328 -0.177  0.092  0.303]


Input: Consider Input: [20.099, 137.273, 239.87, 148.001, 151.274, 226.122, 100.529, 225.509, 122.443, 229.499]

Output: [0.013 0.086 0.15  0.092 0.095 0.141 0.063 0.141 0.076 0.143]


Input: Consider Input: [232.754, -94.85, -8.888, 247.046, 247.724, 155.982, 186.959]


Output: [ 0.241 -0.098 -0.009  0.256  0.256  0.161  0.193]