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: [-33.478, -42.164, 31.396]

SOLUTION: [ 0.757  0.953 -0.71 ]

PROBLEM: [60.119, 98.997]

SOLUTION: [0.378 0.622]

PROBLEM: [53.451, 91.749, 39.348, -82.607, 58.468, 108.488, 139.374, -13.611]

SOLUTION:
[ 0.135  0.232  0.1   -0.209  0.148  0.275  0.353 -0.034]