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]: [10.415, 115.448, 48.253, -29.927, -99.808, 100.066, 210.071, 233.739, 247.704]
[A]: [ 0.012  0.138  0.058 -0.036 -0.119  0.12   0.251  0.28   0.296]


[Q]: [108.39, 95.014, 147.686, 236.38, 116.405, 97.176, 14.868, 159.594, 195.692]
[A]: [0.093 0.081 0.126 0.202 0.099 0.083 0.013 0.136 0.167]


[Q]: [135.094, 210.984, 105.017, 166.128, 58.716, 5.429, 136.874]
[A]:
[0.165 0.258 0.128 0.203 0.072 0.007 0.167]