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]: [163.369, 154.385, -90.701, 231.795, -84.648]
[A]: [ 0.437  0.413 -0.242  0.619 -0.226]


[Q]: [121.722, 110.981, 3.171]
[A]: [0.516 0.471 0.013]


[Q]: [-26.092, 28.178, -23.849, 108.11, 207.902, -26.982]
[A]:
[-0.098  0.105 -0.089  0.405  0.778 -0.101]