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]: [200.637, -31.315, 78.428]
[A]: [ 0.81  -0.126  0.317]


[Q]: [190.894, 177.982, 160.536, 196.712, 88.947]
[A]: [0.234 0.218 0.197 0.241 0.109]


[Q]: [242.363, 12.794, -65.393, 18.382, 226.16, 174.793, -95.294, 39.679, 83.888, 72.871]
[A]:
[ 0.341  0.018 -0.092  0.026  0.318  0.246 -0.134  0.056  0.118  0.103]