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.205, 152.573, -5.614]
[ 0.619  0.395 -0.015]

[177.728, -20.968, 68.938, 216.881, 19.13, 114.147, 199.158, 14.797, -4.489, 170.845]
[ 0.186 -0.022  0.072  0.227  0.02   0.119  0.208  0.015 -0.005  0.179]

[178.532, 2.008]

[0.989 0.011]