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: [224.19, -13.723, 196.624, 0.943, -21.431, -24.617, 129.254, 77.367]

SOLUTION: [ 0.394 -0.024  0.346  0.002 -0.038 -0.043  0.227  0.136]

PROBLEM: [80.699, 66.421, 171.597, -94.287, -26.505, 172.596, 233.171, 182.398, 74.889, 165.048]

SOLUTION: [ 0.079  0.065  0.167 -0.092 -0.026  0.168  0.227  0.178  0.073  0.161]

PROBLEM: [-22.058, -25.234]

SOLUTION:
[0.466 0.534]