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: [96.015, 37.466, -40.719, 98.276, -87.995, 189.755, 126.983]

Answer: [ 0.229  0.089 -0.097  0.234 -0.21   0.452  0.302]


Question: [77.096, 186.379, -96.012]

Answer: [ 0.46   1.113 -0.573]


Question: [-98.347, 127.019, 108.21, 239.431, 241.202, -24.518]

Answer:
[-0.166  0.214  0.182  0.404  0.407 -0.041]