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]: [-22.771, 214.763, -40.308, 84.107]
[A]: [-0.097  0.911 -0.171  0.357]


[Q]: [94.074, 116.233, -38.023, -8.757, -77.941, 13.162, 78.677]
[A]: [ 0.53   0.655 -0.214 -0.049 -0.439  0.074  0.443]


[Q]: [-77.674, -60.76, 220.033, 83.391, -78.679, 143.901, -13.779, -91.589]
[A]:
[-0.622 -0.487  1.762  0.668 -0.63   1.153 -0.11  -0.734]