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: [127.429, 95.716, 248.623, 78.199, -58.769, 134.098, -23.614]

SOLUTION: [ 0.212  0.159  0.413  0.13  -0.098  0.223 -0.039]

PROBLEM: [-29.429, 30.51, 95.182, -26.973]

SOLUTION: [-0.425  0.44   1.374 -0.389]

PROBLEM: [109.552, 230.398]

SOLUTION:
[0.322 0.678]