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.

Ex Input:
[-51.018, 130.578, -54.191, 144.189, -35.312, -28.86, 128.549, 58.665]

Ex Output:
[-0.174  0.446 -0.185  0.493 -0.121 -0.099  0.439  0.2  ]


Ex Input:
[220.782, -40.434, 66.368, -43.265]

Ex Output:
[ 1.085 -0.199  0.326 -0.213]


Ex Input:
[0.131, -97.221]

Ex Output:

[-0.001  1.001]