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]: [-97.195, 72.11, 249.886, 154.489, -91.851, -38.023, 180.404]
[A]: [-0.226  0.168  0.581  0.359 -0.214 -0.088  0.42 ]


[Q]: [-71.278, 43.63, 90.263, 5.61, 59.485, 80.74, 137.446]
[A]: [-0.206  0.126  0.261  0.016  0.172  0.233  0.397]


[Q]: [187.016, -96.124, 16.155]
[A]:
[ 1.747 -0.898  0.151]