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]: [47.126, 25.781]
[A]: [0.646 0.354]


[Q]: [163.369, 154.385, -90.701, 231.795, -84.648]
[A]:
[ 0.437  0.413 -0.242  0.619 -0.226]