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.

[85.379, 51.027, 245.442, -3.654, -40.663, 166.273]
[ 0.169  0.101  0.487 -0.007 -0.081  0.33 ]

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

[143.893, 91.472]

[0.611 0.389]