TASK DEFINITION: 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.
PROBLEM: [187.713, 165.457, 218.44, -71.285, -50.105, 5.022, 118.456]

SOLUTION: [ 0.327  0.288  0.381 -0.124 -0.087  0.009  0.206]

PROBLEM: [45.532, 131.328, 173.809, -99.361, 45.882, 226.094, 12.686]

SOLUTION: [ 0.085  0.245  0.324 -0.185  0.086  0.422  0.024]

PROBLEM: [-95.561, -71.849, 102.269, -62.637, 198.616, 25.052, 84.205]

SOLUTION:
[-0.531 -0.399  0.568 -0.348  1.103  0.139  0.468]