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: [148.764, 144.152, -67.79, 196.955, 133.537, 132.805]

SOLUTION: [ 0.216  0.209 -0.098  0.286  0.194  0.193]

PROBLEM: [242.579, 120.747]

SOLUTION: [0.668 0.332]

PROBLEM: [169.605, 162.483, 223.258, -46.101, 0.499, -49.31, 10.067, 195.258]

SOLUTION:
[ 0.255  0.244  0.335 -0.069  0.001 -0.074  0.015  0.293]