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.

[140.652, 95.04]
[0.597 0.403]

[204.719, -84.204, -1.215, 164.923, 43.828, 143.634, -47.883]
[ 0.483 -0.199 -0.003  0.389  0.103  0.339 -0.113]

[187.642, 41.168, 44.121, 214.887, 126.958, 215.817, 230.222]

[0.177 0.039 0.042 0.203 0.12  0.203 0.217]