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]: [67.316, 32.221, 35.37, 18.909, -53.683, -95.842, 75.381, 185.038]
[A]: [ 0.254  0.122  0.134  0.071 -0.203 -0.362  0.285  0.699]


[Q]: [245.345, 200.311, 242.92, -3.998, -12.158, 63.237]
[A]: [ 0.334  0.272  0.33  -0.005 -0.017  0.086]


[Q]: [49.905, -91.782, 206.773, 228.019, 239.834, -7.277, 160.755, 195.571, 95.471]
[A]:
[ 0.046 -0.085  0.192  0.212  0.223 -0.007  0.149  0.182  0.089]


