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.

[-56.645, 164.309, -98.764, 38.132, 180.507]
[-0.249  0.722 -0.434  0.168  0.793]

[113.291, 207.259, -25.189, 237.902, 246.469, 195.691, -10.298, 203.132]
[ 0.097  0.177 -0.022  0.204  0.211  0.168 -0.009  0.174]

[25.275, 239.292, 167.579]

[0.058 0.554 0.388]