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: [145.983, 91.398, 65.88]

SOLUTION: [0.481 0.301 0.217]

PROBLEM: [107.499, 46.989, 52.923, -98.504, 12.47, 176.268, 89.606, 240.138]

SOLUTION: [ 0.171 0.075 0.084 -0.157 0.02 0.281 0.143 0.383]

PROBLEM: [-29.767, 248.58, -49.879, -88.404, 7.187, -80.995, 67.925]

SOLUTION:
[-0.399 3.33 -0.668 -1.184 0.096 -1.085 0.91 ]