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.836, 203.808, 146.954]
[A]: [0.331 0.389 0.28 ]


[Q]: [181.091, 12.156, 82.607, 167.194, 157.793, 21.726, 115.324, 36.2, 88.41, -65.701]
[A]: [ 0.227  0.015  0.104  0.21   0.198  0.027  0.145  0.045  0.111 -0.082]


[Q]: [-46.813, 220.735, 231.731, 51.391, 211.835]
[A]:
[-0.07   0.33   0.346  0.077  0.317]