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: [187.713, 165.457, 218.44, -71.285, -50.105, 5.022, 118.456]

SOLUTION: [ 0.327  0.288  0.381 -0.124 -0.087  0.009  0.206]

PROBLEM: [189.801, 102.261, -47.219, 80.41, 220.74, 168.933, -21.721, -92.3, 79.934, 86.043]

SOLUTION:
[ 0.247  0.133 -0.062  0.105  0.288  0.22  -0.028 -0.12   0.104  0.112]