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]: [101.286, 117.279, 249.605, -54.23, 190.036]
[A]: [ 0.168  0.194  0.413 -0.09   0.315]


[Q]: [196.669, -36.083, 152.375, -91.018, -29.088, 134.933, 66.316, 231.48, 92.271, 52.699]
[A]: [ 0.255 -0.047  0.198 -0.118 -0.038  0.175  0.086  0.3    0.12   0.068]


[Q]: [77.694, 109.292, 127.889, 195.713]
[A]:
[0.152 0.214 0.25  0.383]