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: [222.47, 240.651, 3.5, -20.351, 249.944, 55.201, 41.763, -68.155]

SOLUTION: [ 0.307  0.332  0.005 -0.028  0.345  0.076  0.058 -0.094]

PROBLEM: [244.91, 126.041]

SOLUTION: [0.66 0.34]

PROBLEM: [141.721, -96.278, 40.607, 52.136, -1.26, -91.7]

SOLUTION:
[ 3.134 -2.129  0.898  1.153 -0.028 -2.028]