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]: [43.938, 83.985, -7.291]
[A]: [ 0.364  0.696 -0.06 ]


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


[Q]: [166.128, 176.578, 100.194, 46.674]
[A]:
[0.339 0.361 0.205 0.095]