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: [170.997, 168.919, 162.608, -16.388, -81.975, -60.792, -54.261, 236.975, -95.809]

SOLUTION: [ 0.397  0.393  0.378 -0.038 -0.191 -0.141 -0.126  0.551 -0.223]

PROBLEM: [50.004, -66.47, 243.356, 69.209, -92.092, 242.39, 205.245, 91.307, 180.15]

SOLUTION: [ 0.054 -0.072  0.264  0.075 -0.1    0.263  0.222  0.099  0.195]

PROBLEM: [22.383, -84.982, 188.927, 249.291, -0.503, 46.703, -12.449, 120.994]

SOLUTION:
[ 0.042 -0.16   0.356  0.47  -0.001  0.088 -0.023  0.228]