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]: [130.056, 45.14]
[A]: [0.742 0.258]


[Q]: [67.084, 123.683, 194.875, 219.902]
[A]: [0.111 0.204 0.322 0.363]


[Q]: [6.881, 146.661, 46.459, -91.765]
[A]:
[ 0.064  1.355  0.429 -0.848]