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 ]

[246.183, 41.271, 148.968]
[0.564 0.095 0.341]

[109.9, 12.161, -42.126, 162.122, 225.845, -34.311, -43.169, 239.57, 69.848, -54.175]

[ 0.17   0.019 -0.065  0.251  0.35  -0.053 -0.067  0.371  0.108 -0.084]