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:
[246.183, 41.271, 148.968]

Ex Output:
[0.564 0.095 0.341]


Ex Input:
[227.76, 164.43, -88.862, 46.315, 152.235]

Ex Output:
[ 0.454  0.328 -0.177  0.092  0.303]


Ex Input:
[85.273, 131.495, 142.298]

Ex Output:

[0.237 0.366 0.396]