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]: [-47.013, -70.337, -65.16]
[A]: [0.258 0.385 0.357]


[Q]: [98.788, -10.935, 154.847, 241.275, 14.539]
[A]: [ 0.198 -0.022  0.311  0.484  0.029]


[Q]: [64.058, 0.777, -88.59, 129.505, 106.347, 33.142, -6.46]
[A]:
[ 0.268  0.003 -0.371  0.542  0.445  0.139 -0.027]


