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.

[239.945, 42.333]
[0.85 0.15]

[133.781, 157.723, 158.61, -61.075, 12.936]
[ 0.333  0.392  0.395 -0.152  0.032]

[-17.274, -54.48, -70.651, 66.907, -22.974, 87.992, -21.089, 38.488, 166.526, 107.575]

[-0.061 -0.194 -0.251  0.238 -0.082  0.313 -0.075  0.137  0.593  0.383]