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: [130.056, 45.14]

SOLUTION: [0.742 0.258]

PROBLEM: [239.355, -28.126, 119.471, -13.274, 94.632, -6.52, -97.474, 249.124, -47.411, 100.431]

SOLUTION:
[ 0.392 -0.046  0.196 -0.022  0.155 -0.011 -0.16   0.408 -0.078  0.165]