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.

[166.754, 127.664, 16.508, -86.602, -58.491, -6.352]
[ 1.046  0.8    0.104 -0.543 -0.367 -0.04 ]

[116.837, -39.548, 33.391, 175.644, 113.699, 197.292, 61.823, 218.792]
[ 0.133 -0.045  0.038  0.2    0.13   0.225  0.07   0.249]

[51.888, 85.35, -85.889]

[ 1.01   1.662 -1.673]