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.

[86.628, 157.229]
[0.355 0.645]

[234.077, 107.688, 115.509, 39.166, 211.514, 117.358]
[0.284 0.13  0.14  0.047 0.256 0.142]

[18.383, 179.996, 92.673, -58.879, -84.173]

[ 0.124  1.216  0.626 -0.398 -0.569]