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: [150.512, 25.615, 166.388, 23.206, 37.005, -21.969, -54.113]

SOLUTION: [ 0.461  0.078  0.509  0.071  0.113 -0.067 -0.166]

PROBLEM: [106.3, -50.849, 9.02, -35.539, -72.426]

SOLUTION: [-2.444  1.169 -0.207  0.817  1.665]

PROBLEM: [53.694, -85.071, -93.42, -14.004, 139.613, 212.922, 59.656, 45.26, 34.248, 242.402]

SOLUTION:
[ 0.09  -0.143 -0.157 -0.024  0.235  0.358  0.1    0.076  0.058  0.407]