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]: [-47.47, -20.769, 247.392, 45.36, 8.298, -8.737, -31.714, 35.167]
[A]: [-0.209 -0.091  1.087  0.199  0.036 -0.038 -0.139  0.155]


[Q]: [95.525, 57.654, -32.833, -11.072, 238.139, 79.12]
[A]: [ 0.224  0.135 -0.077 -0.026  0.558  0.185]


[Q]: [36.883, 19.398, -31.582, -52.377, 99.517, -90.439, -48.097, 159.728, 68.021, 75.234]
[A]:
[ 0.156  0.082 -0.134 -0.222  0.421 -0.383 -0.204  0.676  0.288  0.318]