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: [158.151, 247.626, 8.044, 118.82, 96.148, -43.926, -70.331, 30.436, 105.946]

SOLUTION: [ 0.243 0.38 0.012 0.183 0.148 -0.067 -0.108 0.047 0.163]

PROBLEM: [-43.629, 123.469, -79.775, 197.631]

SOLUTION: [-0.221 0.625 -0.404 1. ]

PROBLEM: [-76.303, 242.481, 249.943]

SOLUTION:
[-0.183 0.583 0.601]