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]: [37.56, 31.057, 59.096, -46.118, 99.306, 103.058, -66.785, 166.311]
[A]: [ 0.098  0.081  0.154 -0.12   0.259  0.269 -0.174  0.434]


[Q]: [166.754, 127.664, 16.508, -86.602, -58.491, -6.352]
[A]: [ 1.046  0.8    0.104 -0.543 -0.367 -0.04 ]


[Q]: [118.419, -58.078, 237.182, -28.09, 64.806, 91.59, 4.477, -62.95]
[A]:
[ 0.322 -0.158  0.646 -0.076  0.176  0.249  0.012 -0.171]


