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: [94.856, 99.337, -98.362, 62.017, 89.355, 180.099, 11.26]

Answer: [ 0.216  0.227 -0.224  0.141  0.204  0.411  0.026]


Question: [74.977, 209.869]

Answer: [0.263 0.737]


Question: [105.666, 104.058, 209.4, -32.22]

Answer:
[ 0.273  0.269  0.541 -0.083]


