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]: [189.03, -5.087, 112.373, 75.947]
[A]: [ 0.508 -0.014  0.302  0.204]


[Q]: [-35.188, 219.611, 33.657, -58.879, 120.955]
[A]: [-0.126  0.784  0.12  -0.21   0.432]


[Q]: [224.303, -77.157, -74.765]
[A]:
[ 3.099 -1.066 -1.033]