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:
[3.047, 155.678, 94.781, -73.491, -33.037, -39.522, 72.956]

Ex Output:
[ 0.017  0.863  0.525 -0.407 -0.183 -0.219  0.404]


Ex Input:
[0.737, -13.324, 17.682, 37.746, 139.164]

Ex Output:

[ 0.004 -0.073  0.097  0.207  0.765]