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:
[10.415, 115.448, 48.253, -29.927, -99.808, 100.066, 210.071, 233.739, 247.704]

Ex Output:
[ 0.012  0.138  0.058 -0.036 -0.119  0.12   0.251  0.28   0.296]


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:
[5.171, 100.289, 137.661, 95.549, 120.601, 27.134, 243.623, 163.482, -30.207]

Ex Output:

[ 0.006  0.116  0.159  0.111  0.14   0.031  0.282  0.189 -0.035]