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]: [115.84, -84.097]
[A]: [ 3.649 -2.649]


[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]: [238.868, -58.672, 214.952, 197.836, 100.408]
[A]:
[ 0.344 -0.085  0.31   0.285  0.145]