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: [245.776, 147.756, 46.081, 137.159, 69.132, -81.718, 135.053, 200.574]

Output: [ 0.273  0.164  0.051  0.152  0.077 -0.091  0.15   0.223]


Input: Consider Input: [-46.5, 4.215, 105.396, 76.508]

Output: [-0.333  0.03   0.755  0.548]


Input: Consider Input: [138.396, -11.527, 177.582, 244.757]


Output: [ 0.252 -0.021  0.323  0.446]