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]: [245.92, 106.086, -49.935, 132.239, -5.977, 156.59, -24.595]
[A]: [ 0.439  0.189 -0.089  0.236 -0.011  0.279 -0.044]


[Q]: [67.084, 123.683, 194.875, 219.902]
[A]: [0.111 0.204 0.322 0.363]


[Q]: [246.834, 196.237, 97.472, -68.381, -50.838, 38.338, 210.738, 15.22, 185.463, -49.902]
[A]:
[ 0.301  0.239  0.119 -0.083 -0.062  0.047  0.257  0.019  0.226 -0.061]


