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: [166.754, 127.664, 16.508, -86.602, -58.491, -6.352]

Output: [ 1.046  0.8    0.104 -0.543 -0.367 -0.04 ]


Input: Consider Input: [-56.866, 244.138]

Output: [-0.304  1.304]


Input: Consider Input: [243.134, -20.562, 220.138]


Output: [ 0.549 -0.046  0.497]