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]: [161.455, 23.187, 99.444, -13.526]
[A]: [ 0.597  0.086  0.368 -0.05 ]


[Q]: [-86.868, 78.322, 210.691]
[A]: [-0.43   0.387  1.042]


[Q]: [165.665, -36.953, -86.257, 84.973, -79.654]
[A]:
[ 3.468 -0.773 -1.806  1.779 -1.667]