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]: [237.824, 233.285, 223.369, 143.876, 118.428, 45.485, 220.048, 177.821, 160.009, 109.675]
[A]: [0.142 0.14  0.134 0.086 0.071 0.027 0.132 0.106 0.096 0.066]


[Q]: [244.91, 126.041]
[A]: [0.66 0.34]


[Q]: [72.893, -63.624, 198.888, 131.79, -21.795, 185.453, -36.835, -45.058, 191.394, 95.74]
[A]:
[ 0.103 -0.09   0.281  0.186 -0.031  0.262 -0.052 -0.064  0.27   0.135]