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]: [119.841, 171.151, 38.877]
[A]: [0.363 0.519 0.118]


[Q]: [246.183, 41.271, 148.968]
[A]: [0.564 0.095 0.341]


[Q]: [56.444, 28.415, 105.761, 125.086]
[A]:
[0.179 0.09  0.335 0.396]


