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.

[161.014, 207.679, -34.683, 160.249, 83.25]
[ 0.279  0.36  -0.06   0.277  0.144]

[10.938, 220.639, 214.911, -31.69, -21.077, 183.226, -41.396, -47.465]
[ 0.022  0.452  0.44  -0.065 -0.043  0.375 -0.085 -0.097]

[47.381, 149.983, 104.452, 146.062]

[0.106 0.335 0.233 0.326]