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]: [121.797, 148.705, -20.956]
[A]: [ 0.488  0.596 -0.084]


[Q]: [8.889, 145.908, 76.545, 230.962]
[A]: [0.019 0.316 0.166 0.5  ]


[Q]: [-82.571, -26.652, -89.093, 4.601, 156.677, 190.105, 232.253, 102.803, 109.113, 146.817]
[A]:
[-0.111 -0.036 -0.12   0.006  0.211  0.255  0.312  0.138  0.147  0.197]