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: [-97.117, -11.802, 57.096, 244.554, 14.606, 59.864, 209.204, 204.511, 5.218]

Output: [-0.142 -0.017  0.083  0.356  0.021  0.087  0.305  0.298  0.008]


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: [103.175, 172.942, 74.406]


Output: [0.294 0.493 0.212]