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]: [56.345, -71.526, 163.534, 45.488, 161.533, 4.674, 190.511, -36.911]
[A]: [ 0.11  -0.139  0.318  0.089  0.314  0.009  0.371 -0.072]


[Q]: [2.303, 132.257, 184.015, 78.61, 124.58, 224.719, 114.614, 209.731, 242.313]
[A]: [0.002 0.101 0.14  0.06  0.095 0.171 0.087 0.16  0.185]


[Q]: [-81.144, 52.024, -1.763, 208.552, 168.231, 69.134, 61.457, -99.022, 104.18]
[A]:
[-0.168  0.108 -0.004  0.433  0.349  0.144  0.128 -0.206  0.216]