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:
[238.724, 233.675, 143.563, -44.834, 195.138, 129.475, -64.207]

Ex Output:
[ 0.287  0.281  0.173 -0.054  0.235  0.156 -0.077]


Ex Input:
[-97.117, -11.802, 57.096, 244.554, 14.606, 59.864, 209.204, 204.511, 5.218]

Ex Output:
[-0.142 -0.017  0.083  0.356  0.021  0.087  0.305  0.298  0.008]


Ex Input:
[50.179, 216.447, 214.28, 98.054, 150.37, 62.454, 173.728, -20.656]

Ex Output:

[ 0.053  0.229  0.227  0.104  0.159  0.066  0.184 -0.022]