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.

[118.504, -50.303, 61.191, 48.734, 201.061, 168.434, -59.577, 157.843, -61.589, 8.952]
[ 0.2   -0.085  0.103  0.082  0.339  0.284 -0.1    0.266 -0.104  0.015]

[187.126, 154.747]
[0.547 0.453]

[-78.885, -62.021, 47.859, 245.596, 138.693, 110.223, 235.961, 207.539, 226.322]

[-0.074 -0.058  0.045  0.229  0.129  0.103  0.22   0.194  0.211]