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]: [187.126, 154.747]
[A]: [0.547 0.453]


[Q]: [83.552, 242.554]
[A]: [0.256 0.744]


[Q]: [223.089, 23.692, 133.036, -41.02, -68.431, -5.071]
[A]:
[ 0.841  0.089  0.501 -0.155 -0.258 -0.019]