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]: [212.856, 36.145, 79.686, 82.961, 134.31, 182.318, -65.772, 6.009, 25.492, 11.846]
[A]: [ 0.302  0.051  0.113  0.118  0.19   0.258 -0.093  0.009  0.036  0.017]


[Q]: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]
[A]: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


[Q]: [24.101, 159.95, -98.312, -54.904, 160.352]
[A]:
[ 0.126  0.837 -0.514 -0.287  0.839]