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]: [226.341, 48.673, 137.819]
[A]: [0.548 0.118 0.334]


[Q]: [88.848, 87.515, 118.388, -67.696, 171.359, 10.566, -78.47, 49.382, -68.623]
[A]: [ 0.285  0.281  0.38  -0.217  0.551  0.034 -0.252  0.159 -0.22 ]


[Q]: [112.742, 102.138]
[A]:
[0.525 0.475]