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.

Q: [138.371, 30.093]

A: [0.821 0.179]
****
Q: [148.764, 144.152, -67.79, 196.955, 133.537, 132.805]

A: [ 0.216  0.209 -0.098  0.286  0.194  0.193]
****
Q: [-30.688, 104.695, 52.389, -18.604, 247.412]

A:
[-0.086  0.295  0.147 -0.052  0.697]
****