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.

[112.224, 166.663, 38.843, 87.432]
[0.277 0.411 0.096 0.216]

[96.015, 37.466, -40.719, 98.276, -87.995, 189.755, 126.983]
[ 0.229  0.089 -0.097  0.234 -0.21   0.452  0.302]

[167.61, 108.414, 145.404]

[0.398 0.257 0.345]