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: [-22.771, 214.763, -40.308, 84.107]

SOLUTION: [-0.097  0.911 -0.171  0.357]

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

SOLUTION: [-0.425  0.44   1.374 -0.389]

PROBLEM: [216.424, 156.654, -71.054, 170.474, 47.55, -14.294, -42.849]

SOLUTION:
[ 0.468  0.338 -0.153  0.368  0.103 -0.031 -0.093]