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: [122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]

Output: [ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]


Input: Consider Input: [96.015, 37.466, -40.719, 98.276, -87.995, 189.755, 126.983]

Output: [ 0.229  0.089 -0.097  0.234 -0.21   0.452  0.302]


Input: Consider Input: [79.025, -11.163, 31.876, 114.159, -11.566, 243.702, 245.21, 166.721]


Output: [ 0.092 -0.013  0.037  0.133 -0.013  0.284  0.286  0.194]