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: [157.917, 14.403]

A: [0.916 0.084]
****
Q: [-4.627, 207.365, 17.961, 35.253, 44.741, -32.505]

A: [-0.017  0.773  0.067  0.131  0.167 -0.121]
****
Q: [104.684, 3.553, 200.727, 247.154, 18.384]

A:
[0.182 0.006 0.349 0.43  0.032]
****