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:
[-61.977, 227.296]

Ex Output:
[-0.375  1.375]


Ex Input:
[112.058, 77.578, 242.343, -59.165, 15.974, 225.295]

Ex Output:
[ 0.182  0.126  0.395 -0.096  0.026  0.367]


Ex Input:
[165.976, 185.604, 63.076, -35.471, 36.118, 105.537, 127.79]

Ex Output:

[ 0.256  0.286  0.097 -0.055  0.056  0.163  0.197]