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]: [113.902, 34.506, -40.153, -89.472, 14.588, -37.564, 92.517, -81.109]
[A]: [ 15.787   4.783  -5.565 -12.401   2.022  -5.206  12.823 -11.242]


[Q]: [159.522, 187.936, 110.31, 19.51, 201.142]
[A]: [0.235 0.277 0.163 0.029 0.296]


[Q]: [-79.68, -74.99, -50.058, 40.041, 249.062, 30.0, 97.145, 50.395]
[A]:
[-0.304 -0.286 -0.191  0.153  0.951  0.115  0.371  0.192]