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: [31.336, -29.902]

Output: [ 21.852 -20.852]


Input: Consider Input: [7.908, 48.762, 119.923, 5.289, 118.145, -62.401]

Output: [ 0.033  0.205  0.505  0.022  0.497 -0.263]


Input: Consider Input: [32.084, 137.173, 206.302, 19.071, -59.977, 154.705, 188.101, 90.014, 106.618]


Output: [ 0.037  0.157  0.236  0.022 -0.069  0.177  0.215  0.103  0.122]