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:
[122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]

Ex Output:
[ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]


Ex Input:
[140.652, 95.04]

Ex Output:
[0.597 0.403]


Ex Input:
[-20.236, 192.038, 148.08, 10.638, -61.277]

Ex Output:

[-0.075  0.713  0.55   0.04  -0.228]