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]: [56.491, -29.468, -4.249, 125.895]
[A]: [ 0.38  -0.198 -0.029  0.847]


[Q]: [-88.068, -3.157, 247.691]
[A]: [-0.563 -0.02   1.583]


[Q]: [59.683, -0.64, 167.635, 98.494, 147.94, -26.348, -58.941]
[A]:
[ 0.154 -0.002  0.432  0.254  0.381 -0.068 -0.152]