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.

[-33.478, -42.164, 31.396]
[ 0.757  0.953 -0.71 ]

[51.967, 80.616, 109.805, 30.339, 162.936, -59.313, -16.193, 61.555, 213.105]
[ 0.082  0.127  0.173  0.048  0.257 -0.093 -0.026  0.097  0.336]

[3.652, 52.602]

[0.065 0.935]