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:
[242.579, 120.747]

Ex Output:
[0.668 0.332]


Ex Input:
[-23.533, -86.932, 185.925, 48.105, 198.096, 116.835, 176.45, -65.203]

Ex Output:
[-0.043 -0.158  0.338  0.088  0.36   0.213  0.321 -0.119]


Ex Input:
[146.799, 5.762]

Ex Output:

[0.962 0.038]