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]: [55.416, 81.773, -23.038, 127.629, 91.86, 87.331, -2.252]
[A]: [ 0.132  0.195 -0.055  0.305  0.219  0.209 -0.005]


[Q]: [-97.301, 130.939, 7.862, 241.283, -8.481, -45.554, 69.159, 123.499]
[A]: [-0.231  0.311  0.019  0.573 -0.02  -0.108  0.164  0.293]


[Q]: [-14.208, 224.957, -49.805, -90.97, 126.503]
[A]:
[-0.072  1.145 -0.253 -0.463  0.644]