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]: [-36.344, 35.248, 1.713, 241.442, 224.638, 193.151]
[A]: [-0.055  0.053  0.003  0.366  0.34   0.293]


[Q]: [31.541, -32.498, 202.96]
[A]: [ 0.156 -0.161  1.005]


[Q]: [142.602, -85.052, -26.952, -53.821, -84.404, -83.331, 123.461, 237.491, 240.635]
[A]:
[ 0.347 -0.207 -0.066 -0.131 -0.206 -0.203  0.301  0.578  0.586]