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: [241.779, 9.259, 171.547, -30.442, -81.464, 139.608, 141.08]

SOLUTION: [ 0.409  0.016  0.29  -0.051 -0.138  0.236  0.239]

PROBLEM: [-71.278, 43.63, 90.263, 5.61, 59.485, 80.74, 137.446]

SOLUTION: [-0.206  0.126  0.261  0.016  0.172  0.233  0.397]

PROBLEM: [220.829, 80.713]

SOLUTION:
[0.732 0.268]