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.

[112.224, 166.663, 38.843, 87.432]
[0.277 0.411 0.096 0.216]

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

[-23.852, -34.21, 62.181, 221.052, 139.057, 82.483, 175.008, 82.388]

[-0.034 -0.049  0.088  0.314  0.197  0.117  0.249  0.117]