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: [222.972, 178.555, -34.936, -41.439, 241.596, -88.158, -90.562, -52.425]

SOLUTION: [ 0.664  0.532 -0.104 -0.123  0.72  -0.263 -0.27  -0.156]

PROBLEM: [-26.447, -6.071, -41.554, 61.374, 220.296, -69.718, 83.987, -30.119, -71.182]

SOLUTION: [-0.219 -0.05  -0.345  0.509  1.827 -0.578  0.697 -0.25  -0.59 ]

PROBLEM: [146.302, 141.356, 224.188, -37.446, 239.902, -94.96, 27.194]

SOLUTION:
[ 0.226  0.219  0.347 -0.058  0.371 -0.147  0.042]