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.

[211.849, 12.238]
[0.945 0.055]

[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]

[138.421, 125.821, 245.105, 164.342, 28.3, 37.102]

[0.187 0.17  0.332 0.222 0.038 0.05 ]