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.

[-18.717, 162.22]
[-0.13  1.13]

[-77.184, -0.749, 1.585]
[ 1.011  0.01  -0.021]

[63.82, 140.03, 107.097, -4.354, -52.981, 44.401, 54.09]

[ 0.181  0.398  0.304 -0.012 -0.15   0.126  0.154]