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: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]

SOLUTION: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]

PROBLEM: [100.985, 21.265]

SOLUTION: [0.826 0.174]

PROBLEM: [242.478, 240.468, 9.767, -94.584, -72.231, 98.009, -1.503]

SOLUTION:
[ 0.574  0.569  0.023 -0.224 -0.171  0.232 -0.004]