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.

[-40.471, -21.276, 213.299, 177.089, 141.933, -96.589, 103.252, 92.793]
[-0.071 -0.037  0.374  0.311  0.249 -0.169  0.181  0.163]

[198.838, 118.549, -83.183, 93.825, 209.533]
[ 0.37   0.221 -0.155  0.175  0.39 ]

[177.874, 109.653, 63.729]

[0.506 0.312 0.181]