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: [249.541, 233.825, 9.968]

SOLUTION: [0.506 0.474 0.02 ]

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: [19.512, 5.771, -68.028, 112.392]

SOLUTION:
[ 0.28   0.083 -0.977  1.614]