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]: [240.691, -46.027]
[A]: [ 1.236 -0.236]


[Q]: [-52.22, -33.722, 88.156, 80.829, 109.377]
[A]: [-0.271 -0.175  0.458  0.42   0.568]


[Q]: [21.044, -99.211, -62.001, 231.831, -94.501, 163.617, 105.906, 179.582, -60.319]
[A]:
[ 0.055 -0.257 -0.161  0.601 -0.245  0.424  0.274  0.465 -0.156]