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.

[24.403, -86.561, -38.209, 193.393]
[ 0.262 -0.931 -0.411  2.079]

[240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]
[ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]

[-98.798, 5.316, 105.765, -89.579, 41.798, 177.03, 37.705, 110.637, -26.972]

[-0.376  0.02   0.402 -0.341  0.159  0.673  0.143  0.421 -0.103]