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]: [173.679, 211.845]
[A]: [0.451 0.549]


[Q]: [83.499, 57.586, 101.269, 40.68, 75.533, 100.856, 37.518]
[A]: [0.168 0.116 0.204 0.082 0.152 0.203 0.075]


[Q]: [177.14, -0.78, -16.492]
[A]:
[ 1.108 -0.005 -0.103]


