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]: [162.868, 109.38, -79.491, 191.325, 43.996, 163.118, 14.367, 219.224, -51.994, -81.541]
[A]: [ 0.236  0.158 -0.115  0.277  0.064  0.236  0.021  0.317 -0.075 -0.118]


[Q]: [-56.866, 244.138]
[A]: [-0.304  1.304]


[Q]: [-80.77, -68.56, 180.511, 184.798, -62.277, 12.478, 213.681, 50.928, 147.82]
[A]:
[-0.14  -0.118  0.312  0.319 -0.108  0.022  0.369  0.088  0.255]