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: [41.651, 32.877, 0.294, -10.28]

SOLUTION: [ 0.645  0.509  0.005 -0.159]

PROBLEM: [17.011, 227.693, 182.857]

SOLUTION: [0.04  0.533 0.428]

PROBLEM: [148.29, -96.713, -8.068, -66.437, 92.138, -99.294, 82.602, 136.572]

SOLUTION:
[ 0.784 -0.511 -0.043 -0.351  0.487 -0.525  0.437  0.722]