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]: [224.303, -77.157, -74.765]
[A]: [ 3.099 -1.066 -1.033]


[Q]: [52.712, 231.411, 178.973, 4.152]
[A]: [0.113 0.495 0.383 0.009]


[Q]: [-62.815, -24.058, 49.306]
[A]:
[ 1.672  0.64  -1.312]