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: [37.56, 31.057, 59.096, -46.118, 99.306, 103.058, -66.785, 166.311]

SOLUTION: [ 0.098  0.081  0.154 -0.12   0.259  0.269 -0.174  0.434]

PROBLEM: [156.747, -11.171, 123.307, 114.583, 209.733, 32.145, 236.125]

SOLUTION: [ 0.182 -0.013  0.143  0.133  0.243  0.037  0.274]

PROBLEM: [-98.408, -61.123, -40.37, 7.833, 244.142, 4.274, 56.583, -31.778, 27.583]

SOLUTION:
[-0.905 -0.562 -0.371  0.072  2.245  0.039  0.52  -0.292  0.254]