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]: [158.109, 83.907, -43.33, 223.125, 220.166, 16.701, -12.633, 192.648, 0.232]
[A]: [ 0.188  0.1   -0.052  0.266  0.262  0.02  -0.015  0.23   0.   ]


[Q]: [-56.645, 164.309, -98.764, 38.132, 180.507]
[A]: [-0.249  0.722 -0.434  0.168  0.793]


[Q]: [94.856, 99.337, -98.362, 62.017, 89.355, 180.099, 11.26]
[A]:
[ 0.216  0.227 -0.224  0.141  0.204  0.411  0.026]