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]: [53.483, 69.57, 167.109, 43.064, -73.27]
[A]: [ 0.206  0.268  0.643  0.166 -0.282]


[Q]: [179.751, 230.589, -35.091]
[A]: [ 0.479  0.614 -0.094]


[Q]: [-52.86, 232.267, 5.323, -94.671, 235.996, 191.149, 200.77]
[A]:
[-0.074  0.324  0.007 -0.132  0.329  0.266  0.28 ]