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:
[164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]

Ex Output:
[ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]


Ex Input:
[-77.184, -0.749, 1.585]

Ex Output:
[ 1.011  0.01  -0.021]


Ex Input:
[99.194, 17.45, 99.925, 76.991, 224.367, 178.736, -57.016]

Ex Output:

[ 0.155  0.027  0.156  0.12   0.351  0.279 -0.089]