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]: [101.04, 52.213, 186.403]
[A]: [0.297 0.154 0.549]


[Q]: [80.294, -88.584]
[A]: [-9.686 10.686]


[Q]: [51.592, 200.546, -97.452, 215.825, 125.724, -70.938]
[A]:
[ 0.121  0.472 -0.229  0.507  0.296 -0.167]


