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]: [-67.573, 107.519]
[A]: [-1.692  2.692]


[Q]: [98.484, 190.025, -78.608]
[A]: [ 0.469  0.905 -0.375]


[Q]: [12.797, 80.414, 245.981]
[A]:
[0.038 0.237 0.725]