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: [-97.301, 130.939, 7.862, 241.283, -8.481, -45.554, 69.159, 123.499]

SOLUTION: [-0.231  0.311  0.019  0.573 -0.02  -0.108  0.164  0.293]

PROBLEM: [43.221, 14.669, 114.988, 168.863]

SOLUTION:
[0.126 0.043 0.336 0.494]