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.

[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]

[-28.121, 170.168, 119.594, -52.937, -28.834, 42.183, -43.168, -93.008]
[-0.327  1.982  1.393 -0.616 -0.336  0.491 -0.503 -1.083]

[-53.358, 0.915, -20.227, 11.597, -24.873, -25.755, -6.854]

[ 0.45  -0.008  0.171 -0.098  0.21   0.217  0.058]