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]: [237.768, 173.698, 202.552, 144.075, 116.375]
[A]: [0.272 0.199 0.232 0.165 0.133]


[Q]: [-88.068, -3.157, 247.691]
[A]: [-0.563 -0.02   1.583]


[Q]: [-23.198, -48.207, 38.825, 3.318, 31.267]
[A]:
[-11.57  -24.043  19.364   1.655  15.595]