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]: [-49.451, 199.304, 136.072]
[A]: [-0.173  0.697  0.476]


[Q]: [98.398, -55.063]
[A]:
[ 2.271 -1.271]