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.291, 207.259, -25.189, 237.902, 246.469, 195.691, -10.298, 203.132]
[A]: [ 0.097  0.177 -0.022  0.204  0.211  0.168 -0.009  0.174]


[Q]: [-71.628, 49.37, 147.263, 187.318, 67.661, 41.289, 86.789, 88.487]
[A]: [-0.12   0.083  0.247  0.314  0.113  0.069  0.145  0.148]


[Q]: [6.519, 247.449]
[A]:
[0.026 0.974]