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]: [74.977, 209.869]
[A]: [0.263 0.737]


[Q]: [249.541, 233.825, 9.968]
[A]: [0.506 0.474 0.02 ]


[Q]: [-79.978, -28.581, -49.64, 141.207]
[A]:
[ 4.707  1.682  2.921 -8.31 ]