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.

[228.711, 65.409, 196.92, -77.355, 201.953, 116.793, -69.059, 234.881]
[ 0.255  0.073  0.219 -0.086  0.225  0.13  -0.077  0.261]

[15.359, 95.315]
[0.139 0.861]

[49.36, 240.034, -7.287, 155.737, 46.594, -72.72, 137.808]

[ 0.09   0.437 -0.013  0.283  0.085 -0.132  0.251]