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]: [-4.622, 65.41, 210.536, 110.663, -14.498, 84.392, -28.141, 137.941]
[A]: [-0.008  0.116  0.375  0.197 -0.026  0.15  -0.05   0.246]


[Q]: [86.628, 157.229]
[A]: [0.355 0.645]


[Q]: [2.601, -75.311, 236.661, 192.019]
[A]:
[ 0.007 -0.212  0.665  0.539]


