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: [103.142, 32.852, 240.16, 126.324]

SOLUTION: [0.205 0.065 0.478 0.251]

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: [231.619, 4.153, 72.262, -26.203, -4.578, -96.664, 144.729, -33.949]

SOLUTION:
[ 0.795  0.014  0.248 -0.09  -0.016 -0.332  0.497 -0.117]