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: [47.126, 25.781]

SOLUTION: [0.646 0.354]

PROBLEM: [112.224, 166.663, 38.843, 87.432]

SOLUTION: [0.277 0.411 0.096 0.216]

PROBLEM: [-66.949, 201.117, 77.216, -17.284, 107.752, 153.166, -36.277, -78.919]

SOLUTION:
[-0.197  0.592  0.227 -0.051  0.317  0.451 -0.107 -0.232]