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: [19.761, -68.809, 38.9]

A: [-1.947  6.781 -3.833]
****
Q: [-35.188, 219.611, 33.657, -58.879, 120.955]

A: [-0.126  0.784  0.12  -0.21   0.432]
****
Q: [31.664, 123.716, 183.361, 171.627, 36.948]

A:
[0.058 0.226 0.335 0.314 0.068]
****