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: [112.224, 166.663, 38.843, 87.432]

SOLUTION: [0.277 0.411 0.096 0.216]

PROBLEM: [240.691, -46.027]

SOLUTION: [ 1.236 -0.236]

PROBLEM: [39.302, 222.496, 213.644, -31.997, 114.209, 55.096]

SOLUTION:
[ 0.064  0.363  0.349 -0.052  0.186  0.09 ]