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]: [232.627, 25.95, -3.053, 103.494, -0.168]
[A]: [ 6.483e-01  7.231e-02 -8.508e-03  2.884e-01 -4.682e-04]


[Q]: [200.637, -31.315, 78.428]
[A]: [ 0.81  -0.126  0.317]


[Q]: [178.805, 213.416, 187.68, 146.072, 189.418, 78.081, 249.19, 144.899]
[A]:
[0.129 0.154 0.135 0.105 0.137 0.056 0.18  0.104]