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.
--------
Question: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]

Answer: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


Question: [-5.274, 133.256, 93.794, 10.426, 83.451, -6.435, 54.869, 185.377, -43.926]

Answer: [-0.01   0.264  0.186  0.021  0.165 -0.013  0.109  0.367 -0.087]


Question: [-25.38, 158.958]

Answer:
[-0.19  1.19]