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: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]

SOLUTION: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]

PROBLEM: [85.379, 51.027, 245.442, -3.654, -40.663, 166.273]

SOLUTION: [ 0.169  0.101  0.487 -0.007 -0.081  0.33 ]

PROBLEM: [-62.995, 57.21]

SOLUTION:
[10.889 -9.889]