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]: [20.362, 231.193, 59.533, 101.496, 136.809]
[A]: [0.037 0.421 0.108 0.185 0.249]


[Q]: [122.209, -22.703, -71.113, 52.059]
[A]: [ 1.519 -0.282 -0.884  0.647]


[Q]: [-43.599, 187.479, 150.211, 195.618, 157.57]
[A]:
[-0.067  0.29   0.232  0.302  0.243]