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.

[119.841, 171.151, 38.877]
[0.363 0.519 0.118]

[187.126, 154.747]
[0.547 0.453]

[140.392, -43.769]

[ 1.453 -0.453]