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: [55.241, 162.66, 158.823, 140.558, 71.473, -48.092]

A: [ 0.102  0.301  0.294  0.26   0.132 -0.089]
****
Q: [240.959, 86.964, 224.296, 218.614, 119.288, 245.17, -27.242, 137.92]

A:
[ 0.193  0.07   0.18   0.175  0.096  0.197 -0.022  0.111]
****