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.

[-98.627, 196.582]
[-1.007  2.007]

[3.047, 155.678, 94.781, -73.491, -33.037, -39.522, 72.956]
[ 0.017  0.863  0.525 -0.407 -0.183 -0.219  0.404]

[181.091, 12.156, 82.607, 167.194, 157.793, 21.726, 115.324, 36.2, 88.41, -65.701]

[ 0.227  0.015  0.104  0.21   0.198  0.027  0.145  0.045  0.111 -0.082]