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.

[138.421, 125.821, 245.105, 164.342, 28.3, 37.102]
[0.187 0.17  0.332 0.222 0.038 0.05 ]

[203.795, 52.478, 152.312, -41.116, 76.704, -56.981, -11.32, 94.977]
[ 0.433  0.111  0.323 -0.087  0.163 -0.121 -0.024  0.202]

[173.023, -32.481, -4.021]

[ 1.267 -0.238 -0.029]